E&S CVS Commit: PEAK-Rules - Predicate dispatching,
at last! We don't compile strings yet,
pje at eby-sarna.com
pje at eby-sarna.com
Sun Dec 30 19:31:54 EST 2007
Author: pje
Date: Sun Dec 30 19:31:53 2007
New Revision: 2461
URL: http://svn.eby-sarna.com?rev=2461&view=rev
Log:
Predicate dispatching, at last! We don't compile strings yet,
and range dispatching is worse than half the speed of RuleDispatch
with C speedups. However, most other types of dispatch should be
a good bit faster, and it should be possible to inline more of the
range lookup.
Added:
PEAK-Rules/Predicates.txt (with props)
PEAK-Rules/peak/rules/predicates.py (with props)
Modified:
PEAK-Rules/peak/rules/core.py
PEAK-Rules/setup.py
PEAK-Rules/test_rules.py
More information about the source-changes
mailing list