------- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-04-22 21:18 ------- Created an attachment (id=13426) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13426&action=view) Modified patch for further improvement
This modified patch, gets the time for the test case on my system from about 12 seconds down to about 7.6. before$ time ./a.out real 0m11.162s user 0m10.845s sys 0m0.306s after$ time ./a.out real 0m7.680s user 0m7.666s sys 0m0.002s We probably want to make is_array_io a macro so we can retain code readability. The big culprit here is now push_char in list_read.c -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13425|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31501