Skip to content

Commit

Permalink
update count.
Browse files Browse the repository at this point in the history
  • Loading branch information
botandrose-machine committed Jan 14, 2025
1 parent ecac559 commit 63bc837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PR.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Hooks are called in the order one would expect, and with the arguments one would

## Refactorings
### Reorganized and modularized internal architecture
In v0.4.0, all the functions were in one IIFE, free to call each other, and the call graph looked like a plate of spaghetti, with many cyclical relationships. We've untangled and extracted four indepedent sub-IIFEs from the main one, and now it looks a bit more like a lasagna. A DAG lasagna :)
In v0.4.0, all the functions were in one IIFE, free to call each other, and the call graph looked like a plate of spaghetti, with many cyclical relationships. We've untangled and extracted five indepedent sub-IIFEs from the main one, and now it looks a bit more like a lasagna. A DAG lasagna :)

### Simplified core algorithm
Speaking of lasagna, this is the tasty meat. By removing the two-pass mode, and further leveraging the persistentId knowledge, we've been able to significantly simplify the core algorithm. Here's the gist of it, copied from the `morphChildren` function:
Expand Down

0 comments on commit 63bc837

Please sign in to comment.