]> granicus.if.org Git - python/commit
still trying to figure out how to fix the remaining
authorFredrik Lundh <fredrik@pythonware.com>
Thu, 29 Jun 2000 23:33:12 +0000 (23:33 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Thu, 29 Jun 2000 23:33:12 +0000 (23:33 +0000)
commit29c08beab08ae3e8b9686a119f5cf0afe99ed918
treeaf7731824bc150a290f02095bdaecf37edaaf605
parent22e1bf7da556de6c14c1e3531db23ca2ff6d8fbb
still trying to figure out how to fix the remaining
group reset problem.  in the meantime, I added some
optimizations:

- added "inline" directive to LOCAL

  (this assumes that AC_C_INLINE does what it's
  supposed to do).  to compile SRE on a non-unix
  platform that doesn't support inline, you have
  to add a "#define inline" somewhere...

- added code to generate a SRE_OP_INFO primitive

- added code to do fast prefix search

  (enabled by the USE_FAST_SEARCH define; default
  is on, in this release)
Lib/sre_compile.py
Modules/_sre.c