X-Git-Url: https://git.webkit.org/?p=WebKit.git;a=blobdiff_plain;f=JavaScriptCore%2FChangeLog;h=c035840c39a7b2cec353efa81d3fea317196769a;hp=037b84c44b7f368bd8a27e90d6a3c680748e9bc1;hb=0a30b7a7bdbe7872b4a1ac722bebf6a6e74624a5;hpb=acd41788cd0f91eddfef8f7d15027880af62fb0c;ds=sidebyside diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog index 037b84c44b7f..c035840c39a7 100644 --- a/JavaScriptCore/ChangeLog +++ b/JavaScriptCore/ChangeLog @@ -1,3 +1,33 @@ +2009-07-03 Yong Li + + Reviewed by Maciej Stachowiak (and revised slightly) + + RegExp::match to be optimized + https://bugs.webkit.org/show_bug.cgi?id=26957 + + Allow regexp matching to use Vectors with inline capacity instead of + allocating a new ovector buffer every time. + + ~5% speedup on SunSpider string-unpack-code test, 0.3% on SunSpider overall. + + * runtime/RegExp.cpp: + (JSC::RegExp::match): + * runtime/RegExp.h: + * runtime/RegExpConstructor.cpp: + (JSC::RegExpConstructorPrivate::RegExpConstructorPrivate): + (JSC::RegExpConstructorPrivate::lastOvector): + (JSC::RegExpConstructorPrivate::tempOvector): + (JSC::RegExpConstructorPrivate::changeLastOvector): + (JSC::RegExpConstructor::performMatch): + (JSC::RegExpMatchesArray::RegExpMatchesArray): + (JSC::RegExpMatchesArray::fillArrayInstance): + (JSC::RegExpConstructor::getBackref): + (JSC::RegExpConstructor::getLastParen): + (JSC::RegExpConstructor::getLeftContext): + (JSC::RegExpConstructor::getRightContext): + * runtime/StringPrototype.cpp: + (JSC::stringProtoFuncSplit): + 2009-06-30 Kwang Yul Seo Reviewed by Eric Seidel.