Skip to content

Commit bbe5eaa

Browse files
committed
perf: Speed up compiling arg! macro
To "append" calls, we were passing in a more and more complex expression on each recursive invocation. We now pass in a fixed amount of data on each iteration, reducing how much the macro machinery needs to parse, speeding up builds. Fresh builds went from 39s to 32s on my machine. Inspired by #4670
1 parent 10a87c6 commit bbe5eaa

File tree

1 file changed

+173
-188
lines changed

1 file changed

+173
-188
lines changed

0 commit comments

Comments
 (0)