Revision 573158
Go back to digest for 20th August 2006Optimization in KDE Base
Maks Orlovich committed changes in /trunk/KDE/kdelibs/kjs:
Shrink the size of JS objects by 2 pointers, so
8 bytes on 32-bit, 16 bytes on 32-bit.
This is done by pushing pointers that are not really needed
inside ObjectImp to subclasses; and also by rearranging and bitfielding
some things inside of the RegExp constructor.
Makes the cell size (32-bit, I need configury for 64-bit!) go
56->48 bytes, with GC adjusted accordingly.
Makes things may be 1.2%-1.5% faster; this version of the patch
is after adjustment by Apple to reduce divergence...
File Changes
Added 2 files
- /trunk/KDE/kdelibs/kjs
- /JSWrapperObject.cpp
- /JSWrapperObject.h
Modified 18 files
- /trunk/KDE/kdelibs/kjs
- /array_object.cpp
- /bool_object.cpp
- /bool_object.h
- /CMakeLists.txt
- /collector.cpp
- /date_object.cpp
- /date_object.h
- /error_object.cpp
- /function.cpp
- /function.h
- /number_object.cpp
- /number_object.h
- /object.cpp
- /object.h
- /regexp_object.cpp
- /regexp_object.h
- /string_object.cpp
- /string_object.h
20 files changed in total