This is the mail archive of the gcc@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]

Re: Clustering switch cases


On Fri, Aug 27, 2010 at 3:47 PM, Ian Lance Taylor <iant@google.com> wrote:
>
> I don't know of any specific reason not to look for clusters of switch
> cases. ÂThe main issue would be the affect on compilation time. ÂIf you
> can do it with an algorithm which is linear in the number of cases, then
> I think it would be an acceptable optimization.
>

Thanks. I will be working on it. I will let you know how it goes.

Cheers,
-- 
PMatos


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