Possible performance improvements #602
Labels
breaking change
Change resulting in compilation errors of code that used to be considered correct, or linking errors
enhancement
We are using
Vector[Any]
for building and storing the collection of overrides (both constant values and functions). Insidedef addOverride
we are using with+:
.:+
append instead instead - as it might be fasterTransformationContext
does not depend onRuntimeDataStore
we might also consider convertingVector
toArray
in some cases - inside the macro, once theVector
has all the valuesVector
with some custom data structure that would be e.g. cheap to append, and on the first access computed internally anArray
,+:
to:+
happens inside the library code that could be evicted, but calling theapply(index)
happens in the generated code that will stay the same, so it's a change that could be safely done only be recompiling the code, so it's a breaking change that could be introduced in future 2.0.0 release.The text was updated successfully, but these errors were encountered: