Procházet zdrojové kódy

* commented how the limit for a case jmp tree had been determined

git-svn-id: trunk@35647 -
florian před 8 roky
rodič
revize
1ae90bce53
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      compiler/ncgset.pas

+ 2 - 0
compiler/ncgset.pas

@@ -1138,6 +1138,8 @@ implementation
                                (min_label>=int64(low(aint))) and
                                (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 }
                             else if labelcnt>=64 then
                               genjmptree(labels)
                             else