This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]