Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate why declaring seperate function and then doing export default (context, args) => $(context, args) reduces chars #149

Open
samualtnorman opened this issue Mar 28, 2024 · 2 comments
Labels
need-investigate Need to investigate

Comments

@samualtnorman
Copy link
Owner

here's an example of a script making use of this trick
https://github.com/samualtnorman/binmat/blob/main/game-scripts/binmat.ts

@samualtnorman samualtnorman mentioned this issue Apr 16, 2024
8 tasks
@samualtnorman
Copy link
Owner Author

turns out it doesn't always reduce chars.
https://github.com/samualtnorman/binmat/blob/main/game-scripts/binmat_lib.ts is a case where doing this trick increases characters

@samualtnorman
Copy link
Owner Author

I'm going to wait for #161 before I work on this in case #161 makes this irrelevant

@samualtnorman samualtnorman added the need-investigate Need to investigate label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-investigate Need to investigate
Projects
None yet
Development

No branches or pull requests

1 participant