About Anaconda Help Download Anaconda

Ultra-optimized heap operations for Python, written in C.

Installers

  • osx-arm64 v1.0.1
  • linux-64 v1.0.1
  • win-64 v1.0.1
  • osx-64 v1.0.1

conda install

To install this package run one of the following:
conda install mukherjee08::heapx

Description

heapx is a single-file C extension for Python that implements heap operations with explicit, performance-driven design choices at every level of the implementation. The module provides six public API functions — heapify, push, pop, remove, replace, and merge — each backed by a multi-tier dispatch system that selects the optimal algorithm at runtime based on data structure type, heap size, arity, key function presence, element type homogeneity, and GIL-release eligibility.


© 2026 Anaconda, Inc. All Rights Reserved. (v4.2.18) Legal | Privacy Policy