Generic primitive array backed array-lists. The pure clojure implementations are a bit slower than the java ones but far less code so these are used for the less-frequently-used primive datatypes - byte, short, char, and float.
Generic primitive array backed array-lists. The pure clojure implementations are a bit slower than the java ones but *far* less code so these are used for the less-frequently-used primive datatypes - byte, short, char, and float.
(extend-array-types)
(growable-array-list dtype)
(growable-array-list dtype data)
(implement-tostring-print tname)
(make-prim-array-list lname
ary-tag
iface
getname
setname
addname
set-cast-fn
get-cast-fn
obj-cast-fn
add-all-reduce)
(wrap-array ary)
Wrap an array with an implementation of IMutList
Wrap an array with an implementation of IMutList
(wrap-array-growable ary)
(wrap-array-growable ary ptr)
Wrap an array with an implementation of IMutList that supports add and addAllReducible. 'ptr is the numeric put ptr, defaults to the array length. Pass in zero for a preallocated but empty growable wrapper.
Wrap an array with an implementation of IMutList that supports add and addAllReducible. 'ptr is the numeric put ptr, defaults to the array length. Pass in zero for a preallocated but empty growable wrapper.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |