Rusty Russell on Nostr: Second Rust crate, re-implementing a utility I had written several times and see. ...
https://crates.io/crates/linestatsSecond Rust crate, re-implementing a utility I had written several times and see. This one takes a more thorough approach and handles corner cases a bit better. I also added percentile support which is actually quite cute.
Basically, if you have a pile of text lines, which contains some numbers, something like you've run a benchmark 20 times, produced a pile of output, line stats will gather similar lines and show you the stats on the numbers.
Published at
2025-12-26 04:31:57 UTCEvent JSON
{
"id": "dea5785e572bf340b3ee89435b062ae52829a66539a4b4f6ebaecb4b193f6434",
"pubkey": "f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43",
"created_at": 1766723517,
"kind": 1,
"tags": [
[
"alt",
"A short note: https://crates.io/crates/linestats\n\nSecond Rust cr..."
],
[
"r",
"https://crates.io/crates/linestats"
]
],
"content": "https://crates.io/crates/linestats\n\nSecond Rust crate, re-implementing a utility I had written several times and see. This one takes a more thorough approach and handles corner cases a bit better. I also added percentile support which is actually quite cute.\n\nBasically, if you have a pile of text lines, which contains some numbers, something like you've run a benchmark 20 times, produced a pile of output, line stats will gather similar lines and show you the stats on the numbers.",
"sig": "fdd2886bf6be2e9803f86c1e0543862ca76d3394be1a2d2d43a1a99ecb430501543447ec9ebccea3dfb8495a2aa037254f8a492dfff5d292411f12642fadd249"
}