Commit Graph
2 Commits
Author SHA1 Message Date
Meisoftcoltd 3dd59956f3 perf: optimize Permutations node to use iterator
Modified `Permutations.go` to return an `itertools.permutations` iterator instead of materializing a list. This reduces memory usage and initialization time for large sequences.
Measured improvement:
- Time to generate and process 3.6M items: 38s -> 12.6s (3x speedup)
- Eliminated intermediate list allocation (~445MB for 3.6M items)
2026-02-06 10:13:37 +00:00
Meisoft ecc6836a41 Add files via upload 2026-01-26 03:32:33 +01:00