Il 13/08/2018 16:29, J. Gareth Moreton ha scritto:
I haven't explored it too deeply myself, but from what I understand, a
jump table is only generated if there are a large number of branches
(over 50).  If it's just a handful of branches, it simply subtracts
values from the input corresponding to the differences between the case
labels, and jumping to the next subtraction if there's a mismatch, or to
the else block if it goes negative.  I'm not sure what it does for
strings though.

Gareth aka. Kit

I see, I suspected the existence of a threshold value.
I am not interested in strings,
thank you, Marco

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to