Closed
Bug 784765
Opened 12 years ago
Closed 12 years ago
IonMonkey: Inline actual string compare
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
(Whiteboard: [ion:t])
Attachments
(1 file, 1 obsolete file)
4.99 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
At the moment we only handle some cases, but we never actually compare the chars, even for linear strings.
Updated•12 years ago
|
Whiteboard: [ion:t]
Assignee | ||
Comment 1•12 years ago
|
||
Memo:
Just calling memcmp doesn't seem to improve anything. And implementing this inline requires quite a lot of registers.
Assignee | ||
Comment 2•12 years ago
|
||
Just comparing the string length is an easy win. We should do this in the meantime. https://tbpl.mozilla.org/?tree=Try&rev=1b867253e1f9
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #668568 -
Attachment is obsolete: true
Attachment #668779 -
Flags: review?(jdemooij)
Comment 4•12 years ago
|
||
Comment on attachment 668779 [details] [diff] [review]
v2 now with moar compiling code!
Review of attachment 668779 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks, great idea!
Attachment #668779 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•