Chromium Code Reviews
DescriptionSmall performance improvement: avoid looking up builtin types too much by tracking them, particularly ones in coreimpl like NumImplementation.
I also did a few refactorings:
* Tried to tame the "nativeName" stuff to keep the code paths from forking too much
* Removed the bad code duplication between needsConversion and convertTo in Value (they had gone out of sync again!)
* Simplified the function wrapping code & made it clear it's about isolates. The code still checks for DOM, but conceptually it's part of our isolate impl. If we had a different way to tag native function types (e.g. perhaps the "native" keyword, if it's allowed in that position?) we could remove the DOM check there.
Committed: https://code.google.com/p/dart/source/detail?r=3057
Patch Set 1 #Patch Set 2 : updated #
Total comments: 1
Patch Set 3 : removed dead files #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||