WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20844
Speed up parseInt for numbers
https://bugs.webkit.org/show_bug.cgi?id=20844
Summary
Speed up parseInt for numbers
Sam Weinig
Reported
2008-09-14 16:40:04 PDT
If the global function parseInt is used to convert a double to an int (as it seems is done in the function(p,a,c,k,e,d) code packer), it is inefficient to convert the value to a string and then back to an integer.
Attachments
patch
(1.55 KB, patch)
2008-09-14 16:41 PDT
,
Sam Weinig
zwarich
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2008-09-14 16:41:50 PDT
Created
attachment 23425
[details]
patch
Cameron Zwarich (cpst)
Comment 2
2008-09-14 16:44:07 PDT
Comment on
attachment 23425
[details]
patch r=me
Sam Weinig
Comment 3
2008-09-14 18:10:38 PDT
Fixed in
r36410
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug