Changeset 2749 in webkit for trunk/JavaScriptCore/ChangeLog
- Timestamp:
- Nov 18, 2002, 10:53:35 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r2748 r2749 1 2002-11-18 Darin Adler <[email protected]> 2 3 - property and string improvements giving a 7% or so improvement in JavaScript iBench 4 5 * kjs/property_map.h: Rewrite to use a hash table. 6 * kjs/property_map.cpp: Ditto. 7 8 * kjs/string_object.h: 9 * kjs/string_object.cpp: 10 (StringInstanceImp::StringInstanceImp): Construct a string with the right value 11 instead of putting the string in later. 12 (StringInstanceImp::get): Get the length from the string, not a separate property. 13 (StringInstanceImp::put): Ignore attempts to set length, since we don't put it in 14 the property map. 15 (StringInstanceImp::hasProperty): Return true for length. 16 (StringInstanceImp::deleteProperty): Return false for length. 17 (StringObjectImp::construct): Call new StringInstanceImp constructor. Don't try 18 to set a length property. 19 20 * kjs/ustring.h: Make the rep deref know how to deallocate the rep. 21 * kjs/ustring.cpp: 22 (UString::release): Move the real work to the rep's deref, since the hash table 23 now uses the rep directly. 24 25 * kjs/object.h: Remove unused field. 26 1 27 2002-11-18 Maciej Stachowiak <[email protected]> 2 28
Note:
See TracChangeset
for help on using the changeset viewer.