File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343; ; **On performance:** Unlike Python DataFrames, Clojure's datasets are immutable.
4444; ; They're rebuilt on each transformation. Under these conditions, maintaining a
4545; ; tree-based index is pure overhead — you'd rebuild it constantly. As Chris
46- ; ; Nuernberger (author of tech.ml.dataset) put it: "Just sorting the dataset and
47- ; ; using binary search will outperform most/all tree structures in this scenario."
46+ ; ; Nuernberger (author of tech.ml.dataset)
47+ ; ; [put it](https://clojurians.zulipchat.com/#narrow/channel/236259-tech.2Eml.2Edataset.2Edev/topic/index.20structures.20in.20Columns.20-.20scope/near/481581872):
48+ ; ; "Just sorting the dataset and using binary search will outperform most/all
49+ ; ; tree structures in this scenario."
4850; ; (This is the same conclusion that [Polars](https://pola.rs/), the fastest-growing
4951; ; Pandas alternative, reached — no index by design.)
5052; ;
You can’t perform that action at this time.
0 commit comments