Revision 810339

Go back to digest for 25th May 2008

Optimization in KDE Base

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

Noticed when debugging why KJS is ~7% slower with g++-4.3.1-pre than with 4.2.3:

When doing immediate number -> value conversion that can't result in an immediate value, we don't have to check whether it fits into immediate again at runtime, so can just use jsNumberCell and saves some cycles.
(~1.2% speedup..)

File Changes

Modified 2 files
  • /branches/work/kjs-frostbyte/kjs/bytecode
  •   /codes.def
  •   /opcodes.cpp.in
2 files changed in total