lp:~pythonregexp2.7/python/issue2636-07
This update changes the compiled Regular Expression cache logic to allow for up to 256 cached expressions in memory before the cache is cleared, up from 100. Secondly, it only expires the oldest 128 compiles, leaving the 128 most recent in the cache and freeing up 128 new spaces. This makes thrashing on the limit much less likely.
- Get this branch:
- bzr branch lp:~pythonregexp2.7/python/issue2636-07
Branch merges
Branch information
Recent revisions
- 39039. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39038. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39037. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39036. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39035. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39034. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39033. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Finished the caching tests for the overflow condition of deleting half
of the entries. All tests pass. Item 7 is complete! - 39032. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Removed timing test, started the cache overflow tests.
- 39031. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Last version where I attempt timings; I've moved timings to article 7
of the Cache tests and will eliminate it in the next version. - 39030. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Second attempt at writing some test cases for the cache of the Rexexp
expressions and templates. The statistics, however, are grossly
unreliable as about 1 time in 20, the compiled expressions get
time-sliced into two chunks, running 20 times slower. A better timer
may be necessary that actually counts in terms of CPU time.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)