Author here. Please note that the "cheap" in the title refers to the effort needed as well as how sophisticated the tricks are; benchmarking and optimizing your algorithms is still super important! This was discussed quite a bit on the Rust subreddit [1] when it was published.
5 comments
[ 0.17 ms ] story [ 720 ms ] thread[1]: https://www.reddit.com/r/rust/comments/fdbszu/cheap_tricks_f...
Language can be very hard to get right and I have struggled with this a lot personally.