Skip to content

Perf: cache edges#226

Open
sneakers-the-rat wants to merge 1 commit into
mainfrom
perf-edges
Open

Perf: cache edges#226
sneakers-the-rat wants to merge 1 commit into
mainfrom
perf-edges

Conversation

@sneakers-the-rat
Copy link
Copy Markdown
Collaborator

@sneakers-the-rat sneakers-the-rat commented May 20, 2026

computing edges is fast, but it gets called a lot, e.g. in 1000 iterations of the kitchen sink, it's called 15,924 times, which is 0.549 cumulative seconds (2.58% of total time)

so... just cache it. this shouldn't change during the lifespan of a node.


📚 Documentation preview 📚: https://noob--226.org.readthedocs.build/en/226/

@sneakers-the-rat sneakers-the-rat added the perf gotta go fast label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf gotta go fast

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant