Revision 811831

Go back to digest for 25th May 2008

Optimization in KDE Base

Maks Orlovich committed changes in /branches/work/kjs-frostbyte/kjs:

Avoid going through the whole toString-property-lookup-deal when converting a object value to a UString, when the programmer isn't certifiably insane (AKA when toString on strings isn't customized)

This is about a 1% speedup on SunSpider, primarily because it reduces GC heap allocations by 2.35%

File Changes

Modified 4 files
  • /branches/work/kjs-frostbyte/kjs
  •   /JSWrapperObject.cpp
  •   /JSWrapperObject.h
  •   /string_object.cpp
  •   /string_object.h
4 files changed in total