aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-06-14 18:19:21 -0700
committerGitHub <noreply@github.com>2017-06-14 18:19:21 -0700
commitbb36553c1965fdc0ffefff530e8a264275efe2ba (patch)
tree4236a351e738671a336652fbe8d811cf51b34579 /components/script/task_source
parent2209566195bf7f8751e720ce227ca38cd7be2220 (diff)
parentb41f741f5bf0e97fe2fb791bca07f0ffd6d66ba3 (diff)
downloadservo-bb36553c1965fdc0ffefff530e8a264275efe2ba.tar.gz
servo-bb36553c1965fdc0ffefff530e8a264275efe2ba.zip
Auto merge of #17330 - emilio:rules-iter-perf, r=heycam
style: Avoid some branches in common RuleIterator::next cases. I saw this function appear in the profiles at #17329. It was under set_device, which isn't a Stylo path, but probably worth there anyway. This reduces the reported overhead of RulesIterator::next in perf from ~8% to 0.46% <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17330) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/task_source')
0 files changed, 0 insertions, 0 deletions