aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/tests/test_argument_novoid.py
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-02-16 15:54:48 -0700
committerbors-servo <metajack+bors@gmail.com>2015-02-16 15:54:48 -0700
commita45265231797355d08e891be360b2e10bd8df37b (patch)
treea08a5241c1927f8454f519f95cab4fa660de2b4f /components/script/dom/bindings/codegen/parser/tests/test_argument_novoid.py
parenta848a00a1db2c57f59509efc4165d8e04e89bb53 (diff)
parent65cc9025643882ca79d3d9b5d143d9554da05991 (diff)
downloadservo-a45265231797355d08e891be360b2e10bd8df37b.tar.gz
servo-a45265231797355d08e891be360b2e10bd8df37b.zip
auto merge of #4938 : nnethercote/servo/dont-clone-bloom-filter, r=Ms2ger
When a cached bloom filter is found during traversal, there are two cases, both of which currently do unnecessary allocations. This patch avoids these allocations. In the process, it renders correct two previously-incorrect comments, and moves one of those comments into a better spot. While scrolling moderately fast all the way through the "Guardians of the Galaxy" Wikipedia page, this patch (a) avoids 1.2 million calls to `clone()` and (b) replaces 111,000 `BloomFilter::new()` calls with `clear()` calls.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_argument_novoid.py')
0 files changed, 0 insertions, 0 deletions