Changeset 110266 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Mar 8, 2012, 10:49:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r110264 r110266 1 2012-03-08 Benjamin Poulain <[email protected]> 2 3 Allocate the RegExpObject's data with the Cell 4 https://bugs.webkit.org/show_bug.cgi?id=80654 5 6 Reviewed by Gavin Barraclough. 7 8 This patch removes the creation of RegExpObject's data to avoid the overhead 9 create by the allocation and destruction. 10 11 We RegExp are created repeatedly, this provides some performance improvment. 12 The PeaceKeeper test stringDetectBrowser improves by 10%. 13 14 * runtime/RegExpObject.cpp: 15 (JSC::RegExpObject::RegExpObject): 16 (JSC::RegExpObject::visitChildren): 17 (JSC::RegExpObject::getOwnPropertyDescriptor): 18 (JSC::RegExpObject::defineOwnProperty): 19 (JSC::RegExpObject::match): 20 * runtime/RegExpObject.h: 21 (JSC::RegExpObject::setRegExp): 22 (JSC::RegExpObject::regExp): 23 (JSC::RegExpObject::setLastIndex): 24 (JSC::RegExpObject::getLastIndex): 25 (RegExpObject): 26 1 27 2012-03-08 Steve Falkenburg <[email protected]> 2 28
Note:
See TracChangeset
for help on using the changeset viewer.