Re:How to write slow Rust code
by brundolf on Monday August 02, 2021 @11:42AM
(#28038128)
Exactly. And the fact that it's framed as "well I just wanted a straight comparison, I didn't want to wade too far into idioms and Rust-isms in the first pass" feels disingenuous.
...or, to be fully honest, a Common Lisp VECTOR that is then CONCATENATE'd with a new element at its beginning.
As I said in another comment, this isn't the problem of using a given language - it's the problem of using a wrong data structure for the job.