Skip to main content

HAREN++: Hybrid Associative Retrieval Engine with Nullified Worst-Case

Project description

HAREN++: Hybrid Associative Retrieval Engine with Nullified Worst-Case

HAREN++ is a high-performance hybrid search algorithm that redefines practical search efficiency across both sorted and unsorted arrays. It combines direct memory indexing, adaptive hashing, predictive segment regression, and sub-logarithmic fallback strategies to achieve constant-time average search performance and compressed worst-case complexity.

Unlike traditional search methods such as linear search (O(N)) and binary search (O(log N)), HAREN++ delivers near-constant search performance even in datasets containing millions of elements. It is designed for real-time applications where ultra-fast retrieval is essential.

Key Features

  • O(1) Average-Case Lookup: Memory-accelerated direct indexing.
  • O(log log N) Worst-Case Search: Fast fallback using anchor tree search.
  • Sorted and Unsorted Arrays: Supports mixed datasets without performance loss.
  • Predictive Indexing: Uses lightweight learned segment models to guide fast searches.
  • Benchmark Proven: Up to 25,000× faster than linear search and up to 20× faster than binary search on million-element datasets.
  • Layered Search Strategy: Combines direct map, adaptive hashing, predictive regression, and a fallback anchor tree.

Installation

pip install harenpp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harenpp-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harenpp-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file harenpp-0.1.1.tar.gz.

File metadata

  • Download URL: harenpp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for harenpp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bda613be2f18f983ea8cfd45bd5252cb36728417faed96298857db4d4737c668
MD5 c5d110c7c02a5e1347242e94bdc1ce11
BLAKE2b-256 d85f224ed93de796063b96116028d4cfd5694f99d1815a9bfac41609cf1535ba

See more details on using hashes here.

File details

Details for the file harenpp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: harenpp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for harenpp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fec60902c0d7e6d0ff9157e27bed864c5f17a6562b4d1d2acef7e50247c0bc5c
MD5 8b7a3d7926fa1239acfc9417c429912f
BLAKE2b-256 1933921b303e602153cfd1a1563251dc194a45b84b71135692e7afd92fc4bedf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page