Add JS_InternStringN for callers that know the length of the string

RESOLVED FIXED in mozilla17

Status

()

Core
JavaScript Engine
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jrmuizel, Unassigned)

Tracking

unspecified
mozilla17
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 647602 [details] [diff] [review]
Add JS_InternStringN for callers that know the length of the string

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)

Updated

5 years ago
Attachment #647602 - Flags: review?(luke) → review+

Comment 1

5 years ago
https://hg.mozilla.org/mozilla-central/rev/5109f7ed46d5
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.