WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23622
create CFString and NSString objects from WebCore::String without copying the characters
https://bugs.webkit.org/show_bug.cgi?id=23622
Summary
create CFString and NSString objects from WebCore::String without copying the...
Darin Adler
Reported
2009-01-29 09:50:18 PST
Mark and I realized this is possible and we think it will be a good performance optimization.
Attachments
fist steps
(2.66 KB, patch)
2009-01-29 09:51 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
patch
(7.08 KB, patch)
2009-01-30 10:09 PST
,
Darin Adler
darin
: review-
Details
Formatted Diff
Diff
patch -- this time I think it handles threading acceptably
(8.01 KB, patch)
2009-01-30 17:56 PST
,
Darin Adler
mrowe
: review+
Details
Formatted Diff
Diff
final patch with changes requested by Mark
(7.94 KB, patch)
2009-01-30 18:18 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
more final
(7.91 KB, patch)
2009-01-30 18:26 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2009-01-29 09:51:01 PST
Created
attachment 27150
[details]
fist steps
Darin Adler
Comment 2
2009-01-30 10:09:17 PST
Created
attachment 27186
[details]
patch
Darin Adler
Comment 3
2009-01-30 10:29:28 PST
Comment on
attachment 27186
[details]
patch Non-main-thread handling is wrong here. I'll have to make a new version.
Mark Rowe (bdash)
Comment 4
2009-01-30 11:54:01 PST
Comment on
attachment 27186
[details]
patch Shouldn't the #if PLATFORM(MAC) || !defined(BUILDING_ON_TIGER) checks have an && rather than ||?
Darin Adler
Comment 5
2009-01-30 12:14:57 PST
(In reply to
comment #4
)
> Shouldn't the #if PLATFORM(MAC) || !defined(BUILDING_ON_TIGER) checks have an > && rather than ||?
Yes. Thanks for spotting that.
Darin Adler
Comment 6
2009-01-30 17:56:38 PST
Created
attachment 27205
[details]
patch -- this time I think it handles threading acceptably
Mark Rowe (bdash)
Comment 7
2009-01-30 18:12:36 PST
Comment on
attachment 27205
[details]
patch -- this time I think it handles threading acceptably The calls to the system memory allocator should probably use FastMalloc instead, and the code may be slightly easier to follow if create() and allocator() were closer in the code. r=me
Darin Adler
Comment 8
2009-01-30 18:18:23 PST
I'm going to attach the final patch here so Stephanie can more easily do some performance testing rolling it in and out.
Darin Adler
Comment 9
2009-01-30 18:18:44 PST
Created
attachment 27206
[details]
final patch with changes requested by Mark
Darin Adler
Comment 10
2009-01-30 18:26:59 PST
Created
attachment 27208
[details]
more final
Darin Adler
Comment 11
2009-02-01 07:28:08 PST
http://trac.webkit.org/changeset/40438
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug