defunkt/pystache — Issue #76: Merge @pvande's parsing logic
Author: cjerdonek
Created: 2012-01-01 20:02:29+00:00
State: open

This issue is to merge @pvande's "spec compliant" code from [here](https://github.com/defunkt/pystache/tree/e06bed513dd380bb7760a2bf69af2f7bc0edf405) into the development branch. Spec tests and unit tests should continue to work after the merge.

Also, we should check that speed shouldn't get *too* much slower -- though getting slower is definitely okay. We're not nearly at the point of worrying about speed.

Regarding speed, here are some numbers from running the development branch's `python tests/benchmark.py 10000` on various branches (numbers are in seconds):

master (current):

Benchmarking: 10000x

1.02371788025
4.70996713638

development (current):

Benchmarking: 10000x

0.930554151535
3.0906059742

pvande (e06bed513dd380bb7760a2bf69af2f7bc0edf405):

Benchmarking: 10000x

2.33062005043
12.1700999737

So what we'll be merging is probably on the order of 2-3 times slower than master, which seems fine to me.