created 2009-02-26 20:32 -0500
pushed 2009-02-27 01:32 +0000
Benjamin Smedberg Benjamin Smedberg - I noticed Expansion.resolve still comes up really high on perf charts. This patch makes it much easier to resolve expansions which are just literals, which is very common for variable names. Unfortunately, this makes the code a fair bit more complex, and doesn't help nearly as much as I'd like. resolve-perf
created 2009-02-26 13:20 -0500
pushed 2009-02-26 18:20 +0000
Benjamin Smedberg Benjamin Smedberg - Split words while iterating them, to avoid the overhead of ''.join() on expansions in the common parsing case where we just want a list of words. Also refactors many of the Function.resolve() methods to use iterators more generously.
created 2009-02-26 11:12 -0500
pushed 2009-02-26 16:12 +0000
Benjamin Smedberg Benjamin Smedberg - Merge forward paren-matching and python 2.4 compatibility. There is still one significant issue with python 2.4 compatibility and process waiting, but that will be a different patch.
created 2009-02-26 10:05 -0500
pushed 2009-02-26 16:12 +0000
Benjamin Smedberg Benjamin Smedberg - Python 2.4 compatibility.
created 2009-02-26 07:38 -0500
pushed 2009-02-26 12:38 +0000
Benjamin Smedberg Benjamin Smedberg - Change expansion and function resolution to yield results instead of joining them early. I'm not actually sure this is helping performance, but I'm committing it because, hey, with version control you can go back in time!
created 2009-02-25 16:20 -0500
pushed 2009-02-25 21:20 +0000
Benjamin Smedberg Benjamin Smedberg - Performance optimization: reducing over a string allocates a bunch of 1-character strings and is vast overkill. Use find instead.
created 2009-02-25 13:48 -0500
pushed 2009-02-25 21:20 +0000
Benjamin Smedberg Benjamin Smedberg - Use the logging module's features to avoid doing string formatting when we're not actually logging. This helps execution times a little bit.
created 2009-02-24 12:42 -0500
pushed 2009-02-24 17:42 +0000
Benjamin Smedberg Benjamin Smedberg - GNU make strips ./ off the front of all targets and prerequities. This very strange behavior is documented in a footnote section of the GNU make manual, and NSPR relies on it, at least on Windows. Hrmph.
created 2009-02-20 17:27 -0500
pushed 2009-02-21 00:25 +0000
Benjamin Smedberg Benjamin Smedberg - Fix a bug in ifndef.
created 2009-02-20 16:35 -0500
pushed 2009-02-20 21:56 +0000
Benjamin Smedberg Benjamin Smedberg - Separate the parsing and "execution" of makefiles. This is preparation for cacheing parse results across multiple executions.
less more (0) tip