hypirion / clj-xchart

XChart wrapper for Clojure
https://hypirion.github.io/clj-xchart/
Eclipse Public License 1.0
112 stars 6 forks source link

Efficient read-only view over vectors/lists #5

Closed hypirion closed 8 years ago

hypirion commented 8 years ago

In many situations, extracting data from an existing list/vector may duplicate the data. For large datasets, that could cause unnecessarily high memory usage. It may be interesting to provide a small read-only view over that data to avoid duplicating it.

Perhaps this is only doable/reasonable to do over instances of java.util.RandomAccess.