[fpc-devel] A question about CASE OF
Ched
charles.edouard.des.vastes.vignes at gmail.com
Sun Jul 2 21:43:20 CEST 2017
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'
More information about the fpc-devel
mailing list