Hacker News new | ask | show | jobs
by tristan123456 1631 days ago
Good article! If you want the performance of option four with less hassle, have a look at the enum_dispatch crate.

https://docs.rs/enum_dispatch/latest/enum_dispatch/