You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor jsonnet desugaring to avoid stack overflow.
Default thread stacks on Windows are 1Mb and on Macos are 512Kb
(except for the main thread which is 8Mb) and we've been seeing stack
overflows on these platforms. It appears that recursively calling
desugar consumes over 17Kb of stack, so the recursion doesn't have to go
very deep before it overflows the stack. This refactoring shrinks the
stack usage and lets our jsonnet run on Mac & Windows.
0 commit comments