Closed Bug 120831 Opened 23 years ago Closed 23 years ago

js_strncpy should inline-expand to memcpy

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: brendan, Assigned: brendan)

References

Details

(Keywords: js1.5, perf)

Attachments

(1 file)

Blocks: 117611
Attached patch proposed fixSplinter Review
Easy, super-easy review -- please r= and sr=.

/be
Keywords: perf
Status: NEW → ASSIGNED
Keywords: js1.5, mozilla0.9.9
Target Milestone: --- → mozilla0.9.9
Comment on attachment 65666 [details] [diff] [review]
proposed fix

I've run with the patch (technically I wrote it :-) ) and haven't noticed
anything strange and it gives better performance. It's ok with me if you want
to count this as an r=bratell.
Comment on attachment 65666 [details] [diff] [review]
proposed fix

r=khanson
Attachment #65666 - Flags: review+
Comment on attachment 65666 [details] [diff] [review]
proposed fix

Sorry, I didn't think it was non-obvious enough to worry about credit, but I
will give you that and sr= it.	With the r=khanson, we're set.	I'll get this
in when 0.9.9 opens.  Thanks for the patch, and the push to do it.

/be
Attachment #65666 - Flags: superreview+
No worry. I just tried to lessen the number of other people needed to review it
by one.
Fix is in.

/be
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Marking Verified - 
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: