MCPcopy Create free account
hub / github.com/apache/auron / ArraySize

Interface ArraySize

native-engine/datafusion-ext-commons/src/arrow/array_size.rs:26–28  ·  view source on GitHub ↗

NOTE: the official Array::get_array_memory_size() use buffer.capacity() which does not work on ffi arrays. we would like to use .len() instead for more precise memory statistics.

Source from the content-addressed store, hash-verified

24// which does not work on ffi arrays. we would like to use .len()
25// instead for more precise memory statistics.
26pub trait ArraySize {
27 fn get_array_mem_size(&self) -> usize;
28}
29
30impl<T: ?Sized + Array> ArraySize for T {
31 fn get_array_mem_size(&self) -> usize {

Callers

nothing calls this directly

Implementers 1

array_size.rsnative-engine/datafusion-ext-commons/s

Calls

no outgoing calls

Tested by

no test coverage detected