Closed Bug 839596 Opened 12 years ago Closed 12 years ago

BaselineCompiler: Add optimized string concatenation stub.

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: djvj, Assigned: djvj)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

ss date-format-xparb is hitting this a lot.
Assignee: general → kvijayan
Attached patch Patch. (deleted) — Splinter Review
This brings us down to about 1.3x slower than JM+Ion on SS.
Attachment #711966 - Flags: review?(jdemooij)
Comment on attachment 711966 [details] [diff] [review] Patch. Review of attachment 711966 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/ion/BaselineIC.h @@ +308,5 @@ > \ > _(BinaryArith_Fallback) \ > _(BinaryArith_Int32) \ > _(BinaryArith_Double) \ > + _(BinaryArith_Strcat) \ We should try to avoid ugly names like that. StringConcat or Concat, like Ion.
Comment on attachment 711966 [details] [diff] [review] Patch. Review of attachment 711966 [details] [diff] [review]: ----------------------------------------------------------------- Cool. I agree with the StringConcat/Concat suggestion in comment 2 though.
Attachment #711966 - Flags: review?(jdemooij) → review+
(In reply to Tom Schuster [:evilpie] from comment #2) > Comment on attachment 711966 [details] [diff] [review] > Patch. > > Review of attachment 711966 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: js/src/ion/BaselineIC.h > @@ +308,5 @@ > > \ > > _(BinaryArith_Fallback) \ > > _(BinaryArith_Int32) \ > > _(BinaryArith_Double) \ > > + _(BinaryArith_Strcat) \ > > We should try to avoid ugly names like that. StringConcat or Concat, like > Ion. Advice taken :) Although I wouldn't call "strcat" ugly.. it's just beautiful in it's own way ;)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: