icicle-lang / icicle-ambiata

A streaming query language.
BSD 3-Clause "New" or "Revised" License
57 stars 11 forks source link

don't inline buffer reads #648

Closed amosr closed 6 years ago

amosr commented 6 years ago

disable inlining buffer reads, which convert from buf to array. these allocate a new array and are probably only called once rather than inside the loop, so lack of inlining shouldn't affect runtime too much.

it reduces the compile time! for a latest 1 ~> fields query on a record with N fields:

100 fields
1.34s -> 0.59s

200 fields
3.41s -> 1.28s

300 fields
6.68s -> 2.25s

400 fields
11.5s -> 3.64s

500 fields
20s -> 5.39s
amosr commented 6 years ago

superseded by #649