Assorted micro-optimizations. #3

Merged
pyrex merged 1 commits from kistaro/chameleonic:microoptimization into main 2022-12-18 01:11:43 +00:00
Contributor

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 pal whenever changing multiple colors seems worth it.

Also fixes a bug in palette swapping.

Also a few formatting inconsistencies.

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 `pal` whenever changing multiple colors seems worth it. Also fixes a bug in palette swapping. Also a few formatting inconsistencies.
kistaro added 1 commit 2022-12-18 01:07:00 +00:00
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 `pal` whenever changing multiple colors seems worth it.

Also fixes a bug in palette swapping.
pyrex merged commit db157b7952 into main 2022-12-18 01:11:43 +00:00
kistaro deleted branch microoptimization 2022-12-18 01:38:16 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pyrex/chameleonic#3
No description provided.