Skip to content
Read the original: Simon Willison
Published
29/100

Simon Willison compares C and Rust SQLite parse_number() extensions

AISimon Willison builds four SQLite extensions implementing parse_number() in C and Rust, which strip commas, currency signs and percent signs to produce numbers. The optimized C version was fastest at 16–19 ns per row, about twice as fast as the Rust versions and far faster than SQL replace().
Read the original simonwillison.net
Source details

Simon Willison · simonwillison.netPublished · added here

Original title: parse_number() as a SQLite extension: C vs Rust