Closed Bug 779220 Opened 12 years ago Closed 12 years ago

Add JS_InternStringN for callers that know the length of the string

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: jrmuizel, Unassigned)

Details

Attachments

(1 file)

I have a caller that already knows the length so running strlen is waste.
This also mirrors the existing JS_InternUCStringN.
Attachment #647602 - Flags: review?(luke)
Attachment #647602 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/5109f7ed46d5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: