Assorted micro-optimizations. #3
Reference in New Issue
Block a user
Delete Branch "kistaro/chameleonic:microoptimization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some of these are pure token optimizations, some spend tokens for performance. Function calls are particularly expensive in Pico-8, so using the table form of
palwhenever changing multiple colors seems worth it.Also fixes a bug in palette swapping.
Also a few formatting inconsistencies.