I made this as my progress to learn rust language and to share with other. To start learning rust you can start by installing it here: Getting started - Rust Programming Language and to see the manual book / study book, visit: The Rust Programming Language Book
Saya membuat ini untuk mencatat progres belajar rust language saya dan membagikan nya. untuk memulai mempelajari rust kamu bisa memulai dengan instalasi berikut: Getting started - Rust Programming Language dan ini adalah buku pelajaran rust, kunjungi: The Rust Programming Language Book
- guessing game
- shadowing
- length of input
- data types
- functions
- loop and if
- ownership
- hash vs vector on find string performance
Elapsed time: 11.36µs
Elapsed time: 218.56µs
vector WIN!, hash declaration takes longer time 1800% difference, vector 11361 nanosecond and hash 11361 nanosecond or 11 microsecond
=========================================
Elapsed time: 15.11µs
Elapsed time: 2.11µs
hash WIN!, vector finding takes longer time 600% difference, vector 15107 nanosecond and hash 2110 nanosecond