Replace algorithm in SubtreeSymbolTransform.
commit7b89714a788881307882e67afb2348267f731a90
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Thu, 8 Apr 2010 19:21:23 +0000 (8 19:21 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Thu, 8 Apr 2010 19:21:23 +0000 (8 19:21 +0000)
treed1ff2805c6b121ae414b2f62254334b5eec47618
parent1438c609984bdd54d152ac4a69a27e48060d4b9d
Replace algorithm in SubtreeSymbolTransform.

Patch by: Jon Foster <jon.foster@cabot.co.uk>

The algorithm used by SubtreeSymbolTransform.__does_rule_apply_to()
was written to be simple and similar to the existing logic in
SubtreeSymbolMapper.transform().  Unfortunately, profiling shows that
it's extremely slow.  So it's time to replace it with an algorithm
written for speed.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5110 be7e6eca-30d4-0310-a8e5-ac0d63af7087
cvs2svn_lib/symbol_transform.py