Skip to content
OCTAVIIUS DOCSCore & Studio 0.2.83
Performance / 0.2.83

Native acceleration: codecs and projections

C++17 kernels, column encodings, binary compatibility and backend selection.

Acceleration boundary

C++ kernels accelerate eligible codec, projection and filtering operations inside Core. OCT1/OCT2 formats remain shared by native and Python paths. Storage compatibility is independent of module binary compatibility, which depends on OS, architecture and CPython ABI. Projection counters and startup status identify the path actually used.

Accelerated scope and formats

C++17 library 0.1.0 defaults to nanobind and offers pybind11 from the same kernels. It accelerates binary codecs, varints, plain/dict/delta/rle columns, row-page projection, slot access and eligible filtering. None, bool, integers, floats, Decimal, dates, datetime, strings, bytes, lists and dictionaries retain storage representations. OCT1/OCT2 remain readable in Python.

zlib decompression uses its native implementation. Plan selection remains in the Python coordinator; C++ kernels handle codec and projection operations. The read pool is configured at Core level, independently of the native backend.

Loading and diagnostics

The startup log includes native enabled, abi, backend and reason. Windows packaging expects nanobind with internal ABI 1. OCTAVIIUS_NATIVE=auto tries backends and falls back to Python if absent/incompatible; OCTAVIIUS_NATIVE=off forces Python. Data errors within a native function are not silently hidden by switching backend.

Wheels and environments

The cp310-cp310-win_amd64 wheel targets CPython 3.10 x64 on Windows. Internal ABI 1 identifies the Octaviius kernel contract; the wheel tag identifies the CPython binary environment. Linux and other CPython minor versions require matching binaries. The embedded runtime provides the Windows package execution environment.