pymake/parserdata.py
7a8dc41115d67e05b6da433da2f7685ca9941b02
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
cefacc0cd00266a54bdb2464cdaa5f9b9d0f881a
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.
aeb76d986c599190a3b82f646e9d573e41d36ef7
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.
d0cbe562ed8e3070e9656bfe41a072d85a377539
created 2009-02-26 10:05 -0500
pushed 2009-02-26 16:12 +0000
Benjamin Smedberg Benjamin Smedberg - Python 2.4 compatibility.
79707812e43244a0dc9af3771cea26838aaf4ba8
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!
56f8cbd6b7b7d73f482f6092e49f1501daaf45a3
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.
1a7ac665abd4d9334c8752e3a3dab5c17e82044c
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.
8f8675dfb45415dbd1a9c1b57bef87b28572edc1
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.
d3574d51916dce209529f41c7ae1a7f5c5210ca0
created 2009-02-20 17:27 -0500
pushed 2009-02-21 00:25 +0000
Benjamin Smedberg Benjamin Smedberg - Fix a bug in ifndef.
0c338ff3d3d1b8fd0e31e5322e8bec02d50839f5
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