Hacker GitHub

← All repos

LMDB/lmdb

View on GitHub ↗ ★ 3,059 C

Read-only mirror of official repo on openldap.org. Issues and pull requests here are ignored. Use OpenLDAP ITS for issues.

7 mentions on Hacker News by 6 people: 0 stories, 7 comments · first 2016-03-25 · latest 2025-03-08

Mentions per year 7 mentions · busiest year 2016 (2)
20082026
  1. Now that I've slept, I decided to take a look at LMDB. It uses MDB_PANIC in exactly two places: https://github.com/LMDB/lmdb/blob/f20e41de09d97e4461946b7e26... https://github.com/LMDB/lmdb/blob/f20e41de09d97e4461946b7e26... I would say…
    comment by burntsushi · 2025-03-08 · in Rust inadequate for text compression codecs?
  2. …of on-disk B-trees are usually pretty short-and-sweet. LMDB, for example, is one C file ( https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblm... ) with ~8k of actual code (according to https://github.com/AlDanial/cloc ).…
    comment by derefr · 2024-12-01 · in Fine, I'll Play With Skiplists
  3. …Which has a link to the LMDB repo here (just a submodule) ... https://github.com/LMDB/lmdb/tree/9c9d34558cc438f99aebd1ab58... Which has no info about the project, but links to https://www.openldap.org/software/repo.html
    comment by mmastrac · 2024-10-01 · in Up to date Rust bindings for LMDB
  4. LMDB works like this. The MDB_env struct keeps pointers to both meta pages: https://github.com/LMDB/lmdb/blob/30288c72573ceac719627183f1... Which meta-page used is determined by the transaction ID (even IDs use first, odd IDs second). This…
    comment by hoytech · 2023-12-29 · in How the append-only btree works (2010)
  5. …this project, as mentioned in its copyright notice section [1]. [0] http://www.lmdb.tech/doc/ [1] https://github.com/LMDB/lmdb/blob/30288c72573ceac719627183f1...
    comment by hoytech · 2023-12-29 · in How the append-only btree works (2010)
  6. …with the indentation, which breaks MDB_PREV_DUP. It wasn't noticed until over a year later: https://github.com/LMDB/lmdb/commit/bfe297da47beb31debee48f0... I'm still a big fan of LMDB. It's been hugely inspirational for me, and I think…
  7. …and that interferes with mmap. Here's the code that resulted from that Stack Overflow question: https://github.com/LMDB/lmdb/blob/mdb.master/libraries/liblm... After 36 years of writing code, I have more answers than questions.