<HTML>
<style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>I stand corrected - thanks.<br>
<div><br>
</div><div>*makes note to research more weird and wondeful things in the compiler!*<br>
<br>
Gareth aka. Kit<br>
</div> <br>
<br>
<span style="font-weight: bold;">On Tue 14/08/18 09:00 , Martok listbox@martoks-place.de sent:<br>
</span><blockquote style="BORDER-LEFT: #F5F5F5 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">Hi,
<br>
<br>
<span style="color: rgb(102, 102, 102);">> I would need a clarification about the way the case statement is
</span><br>
<span style="color: rgb(102, 102, 102);">> translated into assembler by FPC. When the list of alternatives is
</span><br>
<span style="color: rgb(102, 102, 102);">> continous, does the compiler generate a jump table?
</span><br>
What Kit said, but a correction: the threshold is not 50, it is 19. And what is generated is not technically a jump table, but a
<br>
typed dispatch table.
<br>
<br>
<br>
--
<br>
Regards,
<br>
Martok
<br>
<br>
Ceterum censeo b32079 esse sanandam.
<br>
<br>
_______________________________________________
<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<br>
<a target="_blank" href="<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>"><span style="color: red;">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</span></a>
<br>
<br>
<br>
</blockquote></HTML>