Back to browse
GitHub Repository
2 starsPython

A fast, thread-safe C hashmap with lazy sorting

by jaguarwan·May 20, 2026·3 points·0 comments

AI Analysis

MidNiche Gem

Thread-safe C hashmap with lazy sorting, but the benchmark repo lacks the actual library code.

Strengths
  • Lazy sort feature enables stable traversal order similar to Java's LinkedHashMap.
  • Optimized specifically for fast retrieval of pointer values from string keys.
  • Comprehensive benchmark suite covers insert, update, retrieve, and miss workloads.
Weaknesses
  • Main library code lives in a separate repository, creating friction for evaluation.
  • Thread-safety overhead may outweigh benefits for single-threaded use cases.
Target Audience

C and C++ systems developers

Similar To

Abseil · F14 FastMap · hashbrown

Post Description

You can play with it here: https://godbolt.org/z/h4ffsWdq8 The main repo is here: https://github.com/RaphaelPrevost/ASKL

Similar Projects

Kreuzberg Comparative Benchmarks

The site weaponizes a compact set of benchmarks — throughput, RAM, cold-start, F1 score and install footprint — and even publishes raw JSON on GitHub, which makes it immediately useful for teams comparing ingestion options. Kreuzberg's Rust implementation posts jaw-dropping numbers against common tools; that's interesting, but the page leaves out crucial reproducibility details (datasets, seed runs, environment configs) you'd want before trusting the magnitude of those gaps.

Niche GemWizardry
nhirschfeld
104mo ago

OpenCode Benchmark Dashboard

Benchmarks OpenCode models locally, but lacks preloaded datasets and only works with configured OpenAI-compatible APIs.

Niche Gem
grigio
103mo ago