Expressions simplification statistic

Mike Stump mrs@apple.com
Tue Oct 17 19:36:00 GMT 2006


On Oct 17, 2006, at 8:05 AM, Dino Puller wrote:
> i'm looking for a statistic of how many expressions simplification
> may be possible on source code

One way would be:

   http://www.cs.fit.edu/~mmahoney/compression/text.html

though, this assumes a particular definition of simplification.  For  
other definitions, gcc doesn't just tell you an answer, you'd have to  
define what you think a simplification is and then instrument gcc to  
provide that answer.  This would be lots of hard work at best.



More information about the Gcc mailing list