[Webkit-unassigned] [Bug 168564] New: JSC C-API Needs a non-copying stringref constructor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 18 15:49:31 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=168564
Bug ID: 168564
Summary: JSC C-API Needs a non-copying stringref constructor
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: oliver at apple.com
CC: fpizlo at apple.com, ggaren at apple.com,
jfbastien at apple.com, sbarati at apple.com
I've been trying to improve load and parse time in some local (e.g. insane) code, and i realized that a common problem i'm having is that i have to cause a copy of data because we don't have a NoCopy() API that takes bytes + encoding + finalizer callback.
Something like
JSStringCreateWithByteNoCopy(void* bytes, size_t length, CFStringEncoding encoding, void(finalizer)(bytes));
Would be great
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170218/61757aa1/attachment.html>
More information about the webkit-unassigned
mailing list