Skip to content

Lint and optimise worker#30

Open
narglab wants to merge 32 commits into
cyanophage:mainfrom
narglab:lint_and_optimise_worker
Open

Lint and optimise worker#30
narglab wants to merge 32 commits into
cyanophage:mainfrom
narglab:lint_and_optimise_worker

Conversation

@narglab
Copy link
Copy Markdown

@narglab narglab commented Apr 23, 2026

Minor performance gains, mainly tidying up.

From profiling, it seems that the optimiser is slow because of two factors:

  1. it explores a lot of permutations;
  2. it exchanges a lot of messages with the worker.

The current PR doesn't address these.
The main bug fixed here, if I'm not mistaken,
is worker.js getting duplicated with each run() call.

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