Skip to content

kylemumma submit#23

Open
kylemumma wants to merge 3 commits into
mpage:mainfrom
kylemumma:main
Open

kylemumma submit#23
kylemumma wants to merge 3 commits into
mpage:mainfrom
kylemumma:main

Conversation

@kylemumma

Copy link
Copy Markdown

Submission Checklist

  • [ x] My file is named submissions/<github_username>.py.
  • [ x] My submission runs locally.
  • [ x] My output matches the expected output.
  • [ x] I did not hardcode the final output.

Approach Description

I maintain a shared pool of builds that can be done (all dependencies are complete). It originally starts off as the leaf nodes. The ThreadPool of workers consumes the pool.

I have an inverse graph that maps depended -> dependants as well as maining a waiting_on count. Each time a worker finishes a build, it decrements waiting_on for all the dependants, and stores the result. Once waiting_on hits 0, all the dependants are complete, so that one gets added to the build pool.

@kylemumma kylemumma changed the title feat: remove eduardo saverin from codeowners kylemumma submit May 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Results

Metric Value
Speedup 5.149899626168426x
Passed true
Graphs 5

Per-graph results

Graph Speedup Status
chain.json 0.900057601471049x
diamond.json 10.729977465253203x
realistic.json 18.50337996268727x
tree.json 15.66297736618508x
wide.json 17.058333741216803x

View the leaderboard

@github-actions

Copy link
Copy Markdown
Contributor

✅ Results

Metric Value
Speedup 5.593752930634498x
Passed true
Graphs 5

Per-graph results

Graph Speedup Status
chain.json 1.0183865815902244x
diamond.json 11.952790801236738x
realistic.json 19.173600168138382x
tree.json 18.119359011253376x
wide.json 19.74621859495156x

View the leaderboard

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