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

boron_haren-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

boron_haren-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file boron_haren-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for boron_haren-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1c3e602a631cb82c64995cc1534f8fe64b46b0a6d4c171bc7d40dd7e97f0834e
MD5 a0f19e3519ecf55f4cc1b9a1ef8c7602
BLAKE2b-256 1c3a171b143e8c338841ea8240db0cc731b82153851ff2bf93f76e3bc080f2cb

See more details on using hashes here.

File details

Details for the file boron_haren-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for boron_haren-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 622553f97e04e18fcb7cb3ab2e7dffdcd798c72810c4182e9248e240c90884e6
MD5 11fb63605bec1be5331c44992e701994
BLAKE2b-256 d9b68ce38165c8bbeea9ebb058ab1713208117af574ae408231fab829deb5d31

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