[webkit-reviews] review requested: [Bug 193912] [JSC] Repeat string created from Array.prototype.join() take too much memory : [Attachment 361132] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 4 17:04:27 PST 2019
Guillaume Emont <guijemont at igalia.com> has asked for review:
Bug 193912: [JSC] Repeat string created from Array.prototype.join() take too
much memory
https://bugs.webkit.org/show_bug.cgi?id=193912
Attachment 361132: Patch
https://bugs.webkit.org/attachment.cgi?id=361132&action=review
--- Comment #5 from Guillaume Emont <guijemont at igalia.com> ---
Created attachment 361132
--> https://bugs.webkit.org/attachment.cgi?id=361132&action=review
Patch
This seems to fix the time and memory consumption of things like \'var a = new
Array(10 * 1024 * 1024).join('M');\' by adding a fast case for uninitialize
arrays.
More information about the webkit-reviews
mailing list