Skip to content
Snippets Groups Projects
Commit 033a148b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

optimize assignments: record number of literals

that way the result vector can be pre-allocated - which gives zero
resizes if no expansions are in the expression.
for the joined argument lists of built-in functions, pre-allocate a
fixed 5 elements, which covers all cases and more.
the argument lists of user-defined functions are not pre-allocated
yet.
parent a1fa00d2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment