[fpc-pascal] CASE

Paul Davidson pdavidson at coraxnetworks.com
Tue Nov 8 18:07:16 CET 2005

> Jump by offset label number? I don't understand it.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Sorry Eduardo, am not knowledgeable of compiler internals.
There is (?) an optimization in FPC that uses a jump table(?) instead 
of scanning each label value of a case statement.  Hoping that this is 
the case, as it seems to be with i386.  This would mean faster 
execution of the case.  Yes?

P Davidson

More information about the fpc-pascal mailing list