You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2193919
Browse filesBrowse the repository at this point in the historyBrowse files
The generic constructors of Constant, Primitive, Struct, Chunked and
Decimal arrays called the generic Array::from_parts_unchecked and
Array::try_from_parts directly. Each crate that called them compiled
its own copy of the from_parts functions and of the full DynArrayData
vtable for the encoding. The generic constructors now call a private
non-generic function, so vortex-array compiles each vtable once.
ScalarFn had the same problem because new_from_validated_slots was
#[inline]; it is not inlined now.
vortex-ffi release cdylib __text: 37,223,740 -> 36,613,308 bytes
(-610 KB). Copies of the Constant vtable: 22 -> 1, Primitive: 17 -> 1.
Signed-off-by: Robert Kruszewski <robert@spiraldb.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments