Skip to content

Fix Conway hanging with newer Micropython versions - #481

Open
chrisib wants to merge 3 commits into
Allen-Synthesis:mainfrom
chrisib:fix-conway
Open

chrisib wants to merge 3 commits into
Allen-Synthesis:mainfrom
chrisib:fix-conway

Conversation

@chrisib

@chrisib chrisib commented Sep 19, 2026

Copy link
Copy Markdown
Collaborator

It looks like the previous micropython.viper optimizations no longer work and cause the program to hang on newer releases.

This MR reverts the algorithms to their pre-viper versions, but keeps micropython.native where possible to improve performance.

Some parts of the code could likely be rewritten again (e.g. using a 1D array for better cache usage), but I don't know how much those changes actually improve things. It's a very CPU-intensive program, and I don't think cache optimizations are going to improve the performance that much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant