瀏覽代碼

* comment on border between linear list and jmp tree for case statements extended

git-svn-id: trunk@35661 -
florian 8 年之前
父節點
當前提交
74423b88e0
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      compiler/ncgset.pas

+ 4 - 1
compiler/ncgset.pas

@@ -1139,7 +1139,10 @@ implementation
                                (max_label<=high(aint)) then
                               genjumptable(labels,min_label.svalue,max_label.svalue)
                             { 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
                               genjmptree(labels)
                             else