[PATCH 1/4] jscript: Use custom string container instead of BSTR.

Jacek Caban jacek at codeweavers.com
Thu Oct 11 05:16:01 CDT 2012


This patch alone makes SunSpider 0.9 17x faster.
---
 dlls/jscript/Makefile.in    |    1 +
 dlls/jscript/activex.c      |    6 +-
 dlls/jscript/array.c        |   80 +++---
 dlls/jscript/bool.c         |    6 +-
 dlls/jscript/compile.c      |   14 +-
 dlls/jscript/date.c         |  127 ++++------
 dlls/jscript/dispex.c       |    4 +-
 dlls/jscript/engine.c       |  166 +++++++------
 dlls/jscript/error.c        |   73 +++---
 dlls/jscript/function.c     |   36 ++--
 dlls/jscript/global.c       |  172 +++++++-------
 dlls/jscript/jscript.c      |    5 +-
 dlls/jscript/jscript.h      |   83 ++++----
 dlls/jscript/jscript_main.c |    4 +
 dlls/jscript/jsstr.c        |   96 ++++++++
 dlls/jscript/jsstr.h        |   70 ++++++
 dlls/jscript/jsutils.c      |   97 ++++----
 dlls/jscript/jsval.h        |   10 +-
 dlls/jscript/number.c       |   59 +++--
 dlls/jscript/object.c       |   24 ++-
 dlls/jscript/regexp.c       |  108 ++++-----
 dlls/jscript/string.c       |  561
+++++++++++++++++++------------------------
 22 files changed, 970 insertions(+), 832 deletions(-)
 create mode 100644 dlls/jscript/jsstr.c
 create mode 100644 dlls/jscript/jsstr.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-jscript-Use-custom-string-container-instead-of-BSTR.diff
Type: text/x-patch
Size: 142718 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121011/73c196f4/attachment-0001.bin>


More information about the wine-patches mailing list