← All projects
Project record1 mention
Originally shared on Hacker News

composable-indexes

A Rust library for indexing a collection on multiple dimensions in a type-safe and composable manner, providing a safer and more concise alternative to maintaining multiple HashMaps while being less involved and simpler than an in-memory SQLite.

Last shared
01 / The problem

What it addresses

Maintaining multiple HashMaps is unsafe and verbose, while in-memory SQLite is too involved for simple multi-dimensional indexing of collections.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. composable-indexes

    A Rust library for indexing a collection on multiple dimensions in a type-safe and composable manner, providing a safer and more concise alternative to maintaining multiple HashMaps while being less involved and simpler than an in-memory SQLite.

    Problem: Maintaining multiple HashMaps is unsafe and verbose, while in-memory SQLite is too involved for simple multi-dimensional indexing of collections.

    Posted by @utdemir · Original source ↗

    Source text · @utdemir · · Source ↗

    Trying to make my Rust library `composable-indexes` more ergonomic. It is for indexing a collection on multiple dimensions in a type-safe and composable manner.