Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Document the
nofold
flag. Example from
when6c.ecl
:
ds := dataset([
t(1,2,3,4),
t(1,4,2,5),
t(9,3,4,5),
t(3,4,2,9)]);
simple := dedup(nofold(ds), f1);
output(simple);
This flag, applied to almost any ECL construct (Gavin might know more), prevents the compiler to optimise the constructs during compile time. This is mainly used for tests, where you want to see the execution of the fully blown code, and avoid the compiler of silently disabling the test.
Is this useful for use code?