DescriptionSmall optimizations to parseInt:
- Second argument to Runtime_StringParseInt is always a smi, avoid converting to double and back to int
- parseInt(positive float) is more common than parseInt(negative float), so check for positive numbers first.
Patch Set 1 #
Total comments: 4
Messages
Total messages: 4 (0 generated)
|