I just stumbled over this one:
http://ccache.samba.org/
If we change Cython slightly to take an option not to output dates in
the C file header, it could mean that some C files would be identical
between test runs. And then ccache could significantly decrease the test
times, without much more effort than installing and setting up ccache.
I won't have time to try it out so I'm just jotting it down..
"""
The basic idea is to detect when you are compiling exactly the same code
a 2nd time and use the previously compiled output. You detect that it is
the same code by forming a hash of:
* the pre-processor output from running the compiler with -E
* the command line options
* the real compilers size and modification time
* any stderr output generated by the compiler
These are hashed using md4 (a strong hash) and a cache file is formed
based on that hash result. When the same compilation is done a second
time ccache is able to supply the correct compiler output (including all
warnings etc) from the cache.
"""
--
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev