------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-12-28 20:55 ------- Daniel, it can't hurt to look.
Also, I have a format data hashing/caching patch in the works. This avoids re-parsing format strings if they have already been parsed once such as in a loop containing I/O statements. Preliminary results I am seeing about a 17% speedup on at least one test case. The patch is fairly straightforward, but I do need to find a Gnu-able hash function. I am using one out of wikipedia at the moment. I will post the patch as soon as I get it to a bug free state. Proof of principle is there for this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38654