Post

rust-lapper v2.0.0-beta.1 is published! This is a large update to mitigate the worst case scenario where there are large intervals that envelope many smaller intervals. It's a lot faster (more details below), and keeps the same api, as well as the BITS implementation. crates.io/crates/rust-...

crates.iocrates.io: Rust Package Registrycrates.io serves as a central registry for sharing crates, which are packages or libraries written in Rust that you can use to enhance your projects

Why beta? This is a drastic change from the original rust-lapper, and while I've tested it every way I can think of, I'd still rather not pull the rug out on people who use this and don't have appropriate version guards set up.

While the ideas were mine (and lean heavily on ideas from super-intervals), the implementation in this case was nearly 100% AI written. While I've reviewed it all, tested it all, etc, I still have mixed feelings about shipping AI generated code in a repo that was previously human-only.

I’ve generally defaulted to coitrees crate, any updated comparisons to that approach? (There was a dead link off the GitHub repo that may have hosted it)

Big caveat - rust-lapper won't work nicely for insertions. But on the datasets in that polars article, lapper-v2 is 1.35x to 1.8x faster than coitrees, including construction time. Thanks for pointing out that link, fixing it!

Aside: even authentic human speech and writing has been influenced so much already. Perhaps it's Baader-Meinhof, but software-y folks in my circles have started saying things like "smoke test" and "materializing" out loud.

0 reposts1 like