Hello All,

Just... one question.

Are the items in the CASE OF statement tested linearly until one test reveals true (or if none, execute the else condition if any) or there is some mechanism of localization like in a sorted binary tree. Linearly: the item with a high probability are to be specified in first places.
By tree, much faster for nearly same-probability items.

Can the compiler manage the tree version or have I to hardcode a tree of cascaded IF THEN ELSE ? If so, how much levels can I develop in this cascade ?

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

Reply via email to