parse_number() as a SQLite extension: C vs Rust
Read the original on Simon Willison →Simon Willison investigated adding a `parse_number()` function to SQLite as a C extension versus a Rust extension. He compared performance, code complexity, and binary size, finding the Rust version (321 KB or 298 KB) was faster than the 14 KB C version, but a custom C implementation could match or beat Rust’s speed. The study included benchmark results over 2 million rows for mixed, integer‑only, and decimal‑only data sets.
Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.