lp:~pythonregexp2.7/python/issue2636-07

Created by TimeHorse on 2008-04-26 and last modified on 2008-09-24

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
Members of Python Regexp 2.7 can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Python Regexp 2.7
Project:
Python
Status:
Mature

Recent revisions

39039. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-09-21

Merged in changes from the core Regexp branch.

39038. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-06-18

Merged in changes from the core Regexp branch.

39037. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-06-11

Merged in changes from the core Regexp branch.

39036. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-06-09

Merged in changes from the core Regexp branch.

39035. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-05-29

Merged in changes from the core Regexp branch.

39034. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-05-29

Merged in changes from the core Regexp branch.

39033. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-05-29

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> on 2008-05-28

Removed timing test, started the cache overflow tests.

39031. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden> on 2008-05-28

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> on 2008-05-28

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)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.