Skip to content

lists backed by native container do not auto expand #124

@behrica

Description

@behrica
(def l (dt/make-list :float32))
(.add l 1.0)
;;=> true
l
;;=> [1.0]


(def l-1 (dt-list/wrap-container (dt/make-container :jvm-heap :float32 0)))
(.add l-1 1.0)
;;=> true
l-1
;;=> [1.0]


(def l-2 (dt-list/wrap-container (dt/make-container :native-heap :float32 0)))
(.add l-2 1.0)
;;=> Execution error (IndexOutOfBoundsException) at tech.v3.datatype.native_buffer.DoubleNativeBuf/writeDouble (native_buffer.clj:424).
;;   idx (0) >= n-elems (0)
;;   



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions