mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
* comment on border between linear list and jmp tree for case statements extended
git-svn-id: trunk@35661 -
This commit is contained in:
parent
5cb724edd9
commit
74423b88e0
@ -1139,7 +1139,10 @@ implementation
|
|||||||
(max_label<=high(aint)) then
|
(max_label<=high(aint)) then
|
||||||
genjumptable(labels,min_label.svalue,max_label.svalue)
|
genjumptable(labels,min_label.svalue,max_label.svalue)
|
||||||
{ value has been determined on an i7-4770 using a random case with random values
|
{ value has been determined on an i7-4770 using a random case with random values
|
||||||
if more values are known, this can be handled depending on the target CPU }
|
if more values are known, this can be handled depending on the target CPU
|
||||||
|
|
||||||
|
Testing on a Core 2 Duo E6850 as well as on a Raspi3 showed also, that 64 is
|
||||||
|
a good value }
|
||||||
else if labelcnt>=64 then
|
else if labelcnt>=64 then
|
||||||
genjmptree(labels)
|
genjmptree(labels)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user