dabeaz/ply — pull request #13 by vpelletier (2012-04-18 19:10:04+00:00)
Title: Cleanups, optimisations, threading fix

Hi.

It's good to see some movement on the original ply repository !

The 3 first commits do minor code cleanups.
The 4 next are much more intrusive in terms of number of changed lines, but improve performance in common cases (ie, when no error is raised).
The next one is a fix when several threads (on different parser instances) are handling errors (I have a use case very heavy on error handlers).
The final commit is another cleanup: both branches share a good portion of their code, so I just move that code in the common code path.

I have a few more changes in the same branch, but which are not really ready for inclusion IMO.

Regards,
Vincent Pelletier