oilshell / oil

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.78k stars 150 forks source link

BashArray could have a sparse representation (ble.sh) #2004

Open andychu opened 1 week ago

andychu commented 1 week ago

And it still has to be ordered

And hopefully not regress on Bubble Sort?

https://github.com/oilshell/oil/commit/eb5a8b373501a92ce7b5134982c85c55292f930e

This would probably affect a bunch of things though


https://oilshell.zulipchat.com/#narrow/stream/384942-language-design/topic/value.2EBashArray