-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
Description
Add new production syntax to indicate to the chunker that particular variables should be chunked as constants.
- need to discuss syntax, but here's my first suggestion:
<var-name :const> - will apply to the variable if used in any of its occurrences in a production
- Would also be convenient to have production-level syntax to indicate that all variables should be consts. My suggested syntax would be a flag like
:o-support, but with a different string such as:chunk-consts.
The exact syntax, and perhaps some functionality (after I do an initial investigation), need to be further discussed in the group.
The current workarounds are quite terrible. One that James has used: put data in smem, retrieve it back from smem, and chunk the result (since chunking doesn't work through smem).