코딩Coding/Rust❤️Optimization❤️
-
Rust_concurrency❤️최적화 - Rayon을 써야 할 때와 tokio를 써야 할 상황 알아 보기 &❤️futures concurrency코딩Coding/Rust❤️Optimization❤️ 2022. 5. 17. 18:52
Rayon 기초 https://youtu.be/gof_OEv71Aw rayon https://github.com/rayon-rs/rayon GitHub - rayon-rs/rayon: Rayon: A data parallelism library for Rust Rayon: A data parallelism library for Rust. Contribute to rayon-rs/rayon development by creating an account on GitHub. github.com 예문 https://youtu.be/_AQDYmZRmRc 에러 관리 https://youtu.be/FJl0mQ_gNE4 tokio를 쓰면 안 되는 3가지 case 이럴 경우는 tokio보다는 rayon을 써야 더 빠르다..
-
Rust) inline_const코딩Coding/Rust❤️Optimization❤️ 2022. 5. 10. 15:32
Feature Name: inline_const Start Date: 2020-04-30 RFC PR: rust-lang/rfcs#2920 Rust Issue: TBD https://github.com/ecstatic-morse/rfcs/blob/inline-const/text/0000-inline-const.md GitHub - ecstatic-morse/rfcs: RFCs for changes to Rust RFCs for changes to Rust. Contribute to ecstatic-morse/rfcs development by creating an account on GitHub. github.com
-
Rust]_뭐가 빠른지 비교할때 쓰는 cargo bench__최적화할 기능이 뭔지 Rust를 잘 찾아보자코딩Coding/Rust❤️Optimization❤️ 2022. 5. 2. 01:55
https://doc.rust-lang.org/cargo/commands/cargo-bench.html cargo bench - The Cargo Book cargo-bench - Execute benchmarks of a package cargo bench [options] [benchname] [-- bench-options] Compile and execute benchmarks. The benchmark filtering argument benchname and all the arguments following the two dashes (--) are passed to the benchmark bi doc.rust-lang.org 6분 34초에 나옴 https://www.youtube.com/w..