servo/components
Emilio Cobos Álvarez bee7cbad0d
style: Micro-optimize is_root to avoid poking at the parent in the common case.
We can discard the common case of an element having another element or document
fragment parent, which is the common case.

Then we can discard detached subtrees looking at is_in_document().

The only case where we have a non-content parent is the document case:

  https://searchfox.org/mozilla-central/rev/033d45ca70ff32acf04286244644d19308c359d5/dom/base/Element.cpp#1683

Differential Revision: https://phabricator.services.mozilla.com/D2505
2018-08-08 01:36:25 +02:00
..
allocator
atoms OfflineAudioContext 2018-07-30 14:23:48 +02:00
bluetooth
bluetooth_traits Update regex to 1.0 2018-07-07 12:03:17 +02:00
canvas WR update 2018-08-06 07:22:24 +02:00
canvas_traits WR update 2018-08-06 07:22:24 +02:00
compositing WR update 2018-08-06 07:22:24 +02:00
config WR update 2018-08-06 07:22:24 +02:00
constellation WR update 2018-08-06 07:22:24 +02:00
debugger
deny_public_fields
devtools
devtools_traits
dom_struct Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
domobject_derive
embedder_traits
fallible Fix build errors after rebase 2018-07-30 14:23:45 +02:00
geometry WR update 2018-08-06 07:22:24 +02:00
gfx WR update 2018-08-06 07:22:24 +02:00
gfx_traits
hashglobe
jstraceable_derive
layout Fix the build for NLL 2018-08-08 00:09:56 +02:00
layout_thread WR update 2018-08-06 07:22:24 +02:00
layout_traits
malloc_size_of WR update 2018-08-06 07:22:24 +02:00
malloc_size_of_derive
metrics
msg
net
net_traits WIP: Dedupe dependencies 2018-07-16 08:59:15 +10:00
profile Update regex to 1.0 2018-07-07 12:03:17 +02:00
profile_traits
rand
range
remutex
script Fix the build for NLL 2018-08-08 00:09:56 +02:00
script_layout_interface WR update 2018-08-06 07:22:24 +02:00
script_plugins Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
script_traits WR update 2018-08-06 07:22:24 +02:00
selectors style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}. 2018-08-08 01:34:35 +02:00
servo WR update 2018-08-06 07:22:24 +02:00
servo_arc style: Use an acquire load for is_unique in servo_arc. 2018-07-24 03:27:08 +02:00
size_of_test
style style: Micro-optimize is_root to avoid poking at the parent in the common case. 2018-08-08 01:36:25 +02:00
style_derive
style_traits WR update 2018-08-06 07:22:24 +02:00
url
webdriver_server WR update 2018-08-06 07:22:24 +02:00
webvr WR update 2018-08-06 07:22:24 +02:00
webvr_traits