Base.iterate for TypeSortedCollections#505
Base.iterate for TypeSortedCollections#505luke-kiernan wants to merge 2 commits intojd/type_stable_iteratorfrom
Conversation
|
it would be great to test the performance of a loop like this for d in get_components(Device, sys)
foo(d)
endvs for d in TSCO
foo(d)
end |
|
Just came across this after a few months, so I though I'd post an update. I've come to the conclusion that it's not possible to implement
My current suggestion: |
Yet to do profiling, but it's working. Tests were mostly written by CoPilot.
The tests that are failing are unrelated, would be fixed by rebasing onto main. [I tried doing that, but got conflicts.]