Closed Bug 1856910 Opened 3 years ago Closed 3 years ago

Optimize code for JS string comparisons in C++ a bit

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(2 files)

No description provided.
Blocks: speedometer3
Whiteboard: [sp3]

This matches the fast path we have in JIT code.

This bypasses some checks that are redundant with the fast paths all callers use in JIT code.

Depends on D190019

Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0196de790c52 part 1 - Check for atoms in js::EqualSrings. r=iain https://hg.mozilla.org/integration/autoland/rev/c0fa8dd831d4 part 2 - Call EqualChars directly in jit::StringsEqual. r=iain
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: