Ignore:
Timestamp:
Aug 25, 2010, 11:55:26 AM (15 years ago)
Author:
[email protected]
Message:

2010-08-25 Michael Saboff <[email protected]>

Reviewed by Sam Weinig.

Remove the single entry regular expression cache introduced as part of
the fix for https://bugs.webkit.org/show_bug.cgi?id=41238.
The performance problem in Dromaeo that initiated that bug is no
longer present. Dromaeo has been modified so that the regular
expression tests are somewhat random and don't benefit from a
single entry cache.

  • runtime/RegExp.cpp: (JSC::RegExp::RegExp): (JSC::RegExp::match):
  • runtime/RegExp.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExp.h

    r62405 r66031  
    6666        const char* m_constructionError;
    6767        unsigned m_numSubpatterns;
    68         UString m_lastMatchString;
    69         int m_lastMatchStart;
    70         Vector<int, 32> m_lastOVector;
    7168
    7269#if ENABLE(YARR_JIT)
Note: See TracChangeset for help on using the changeset viewer.