This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Enum imprvoment again
- From: Devang Patel <dpatel at apple dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Devang Patel <dpatel at apple dot com>, Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 21 Feb 2003 10:45:13 -0800
- Subject: [PATCH] Enum imprvoment again
Hi All,
Current discussion about C++ template speed up gives me some hope
about my following patch.
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02274.html
This patch :
- Passes bootstrap and regression test
- Does not give use actual speed in our selected tests for speed up,
but fixes
exponential algorithm. For example,
Time to compile
N Before After
500 0.15 0.14
1000 0.17 0.17
5000 0.33 0.2
10000 0.86 0.28
50000 33.5 0.9
100000 156.32 1.78
200000 793.99 3.34
N = Number of enum members
It is waiting for approval because further improvement has been
suggested.
But, I am not working on it. May be I can put this in and somebody can
take
over.
thoughts?
-Devang