Home
Phabricator
Search
Log In
Transactions
D11487
Change Details
Change Details
Old
New
Diff
Instead of getting the element to check 4 to 5 times each time, using the range-based for, do it only once. From 76,84% of cpu {F5758695} to 19.12% of cpu {F5758696} in callgrind.
Use a binary search for the needed Attribute. From 76,84% of cpu {F5758695} to 0.32% of cpu in callgrind.
Instead of getting the element to check 4 to 5 times each time, using
Use a binary search for
the
range-based for, do it only once
needed Attribute
. From 76,84% of cpu {F5758695}
to 19.1
to 0.3
2% of cpu
{F5758696}
in callgrind.
Continue