Tommaso Fontana
zom.wtf
Tommaso Fontana
@zom.wtf
Crying at LLVM and MLIR @revng
CTFfing with @mhackeroni
Makes sense, sounds interesting!
An example might be log merge trees en.m.wikipedia.org/wiki/Log-str...
Log-structured merge-tree - Wikipedia
en.m.wikipedia.org
March 26, 2025 at 12:20 PM
Isn't that basically memory-mapping?
In sux-rs we have mmap compatible data structures so we can access them even if they don't fit in memory. We designed epserde-rs to make it easier to do in Rust. github.com/vigna/epserd...
GitHub - vigna/epserde-rs: An ε-copy serialization/deserialization framework for Rust
An ε-copy serialization/deserialization framework for Rust - vigna/epserde-rs
github.com
March 26, 2025 at 8:12 AM
Reposted by Tommaso Fontana
PtrHash has a DOI, At last! 1.5y after starting the project.

- 2.4 bits/key
- 1.75x faster lookup than PTHash&PHOBIC for 3e8 string keys (44ns)
- 12ns per query for 1e9 int keys
- 8ns with streaming/prefetching; basically fully saturating RAM bandwidth (limit is ~7.5ns).

arxiv.org/abs/2502.15539
February 24, 2025 at 2:25 AM
Reposted by Tommaso Fontana
Building on Algorithmica's post on S-trees and the famous "Array layouts for comparison based searching" paper, I did a little project on making an optimized implementation of the S+ tree.
The result is 40x speedup over plain binary search!
🧵

curiouscoding.nl/posts/static...
December 28, 2024 at 11:48 PM
This sounds like a graph compression, have you tried webgraph? It works well for skewed outdegree distributions. For the optimal ordering we use LLP.
December 11, 2024 at 5:08 PM
Reposted by Tommaso Fontana
fascinating result about the performance of memory-safe PNG decoders and the usefulness of autovectorization in real projects www.reddit.com/r/rust/comme...
Memory-safe PNG decoders now vastly outperform C PNG libraries
www.reddit.com
December 10, 2024 at 5:31 AM
I think it is part of stmt_expr_attr github.com/rust-lang/ru...
Tracking issue for stmt_expr_attributes: Add attributes to expressions, etc. · Issue #15701 · rust-lang/rust
Tracking RFC: rust-lang/rfcs#16 Related #127436
github.com
December 4, 2024 at 6:13 PM
Adding attributes to closures is unstable right?
December 4, 2024 at 6:05 PM