相同代码折叠
作者: Kobzol创建于 2022年7月8日更新于 2024年12月20日
Since Rust can't do polymorphization properly yet, using generics generates a lot of duplicated functions because of monomorphization. These functions take up space in the binary, even though they have completely the same instructions.
内容来源: johnthagen/min-sized-rust