Re:Rust is now overall faster than C in benchmarks
by WalterBright on Monday January 04, 2021 @09:35PM
(#25641354)
D strings are a simply a pointer/length pair. Substrings can be extracted with no alloc/copying necessary. The length can be determined without loading the string into the cache and scanning it.
Those two features make for big speed improvements.
Those two features make for big speed improvements.