Skip to content

About

Deterministic lossless compression of hierarchical trees using shared subtrees in C11

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

nexora-compress

Lossless compression of hierarchical tree structures. Encodes trees canonically, eliminates repeated subtrees into shared DAG form when worthwhile, uses RAW fallback, and uses caller-controlled memory.

Deterministic computational primitives for resource-constrained and intelligent software systems. NEXORA is a family of independent C libraries; this is a narrowly scoped component, not a general artificial intelligence system.

Capabilities

The production API is defined by public headers in include/. The default build contains production sources only; research and benchmarks are opt-in. See API reference.

Practical use

Potential uses include deterministic processing of the described data in firmware, local device software, desktop tools, or server pipelines. Applications must choose capacities and define handling for unknown results and errors. No deployed application is claimed.

Technical characteristics

  • C11, standalone; no mandatory NEXORA sibling library or production third-party dependency.
  • Caller-supplied contexts and buffers; production core does not intentionally allocate from the heap.
  • No mandatory operating-system service.
  • Determinism applies only where specified by API and implementation.
  • Bare-metal and RTOS use require target-specific build and memory review; no universal MCU qualification.

Build

cmake -S . -B build -DNEXORA_BUILD_TESTS=ON -DNEXORA_BUILD_EXAMPLES=ON
cmake --build build
ctest --test-dir build --output-on-failure

As a subdirectory, link target nexora::compress. See integration. Minimum CMake 3.16.

Examples

Minimal example and fixed-memory application example. Inputs are synthetic and do not demonstrate a validated deployment.

Memory and performance

Consult retained validation evidence for named figures. Unreported code size, stack and latency statistics NOT MEASURED. Figures are retained historical measurements; no new performance measurements are claimed here. Firmware image size is not production library size. Observed maximum latency is not formal WCET.

Validation and limitations

Retained host and ESP32-S3 records report PASS, with a workload-specific compression result. These retained results are historical; current host regression results are reported separately in validation. No general-purpose compression superiority. Advantage applies to selected generated workloads with repeated structural patterns.

See research summary, limitations, and contract.

License and version

SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (Apache-2.0). See LICENSE and NOTICE. NEXORA is not affiliated with the Apache Software Foundation. Version 0.1.0 is the initial version and is not mature or certified.

About

Deterministic lossless compression of hierarchical trees using shared subtrees in C11

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages