-
Notifications
You must be signed in to change notification settings - Fork 87
draft about new lazy encoding #211
base: source
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome. but what is lazy and why will anyone use it would be a nice addition.
This is cool! Also I learned something, I didn’t know pattern match was an alternative to calling |
@bobzhang This is a good improvement, nicely done! I have a question that may be better converted to an issue in the BuckleScript repo. Would you consider changing the representation of lazy values to say something like My reasoning for the above is that |
@anmonteiro the problem with a longer string is it'll be repeated for every lazy value, which might bloat the app size depending on how much it's used maybe |
@anmonteiro @TheSpyder good idea, I am going to rename it to |
@bobzhang cool, maybe later there can be a "minify" compiler mode that shrinks the key string to a single character 😂 something I'd like for some of my records-as-objects too 😂 |
No description provided.