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
Creates a subroutine via the each() step, but this step isn't dependent on the current user so theoretically it could be hoisted. Current it is not hoisted, which is resulting in the transform being executed NUMBER_OF_USERS * NUMBER_OF_LANGUAGES times, whereas it should only need to happen NUMBER_OF_LANGUAGES times. We should investigate hoisting the subroutine to make these usages more efficient.
The text was updated successfully, but these errors were encountered:
This example:
https://github.com/scottravio/grafast-memory-spike-repro/blob/bf3b601b50949f81625cc767be5a323d76926f5c/languageplugin.mjs
Creates a subroutine via the
each()
step, but this step isn't dependent on the current user so theoretically it could be hoisted. Current it is not hoisted, which is resulting in the transform being executed NUMBER_OF_USERS * NUMBER_OF_LANGUAGES times, whereas it should only need to happen NUMBER_OF_LANGUAGES times. We should investigate hoisting the subroutine to make these usages more efficient.The text was updated successfully, but these errors were encountered: