Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Performance Showdown: Rust vs Javascript (2020).
Don't think I'm the first to mention - what would profile.release do if you're not calling cargo build --release?
Maybe the author is, but a slight suspicion... they're calling older code.
(Also, what's the deal with read_file() and wanting a Vec<String>? Rust has a read_to_string() method as part of std::fs.)
There are no comments on this comment yet.
Don't think I'm the first to mention - what would profile.release do if you're not calling cargo build --release?
Maybe the author is, but a slight suspicion... they're calling older code.
(Also, what's the deal with read_file() and wanting a Vec<String>? Rust has a read_to_string() method as part of std::fs.)