capstone-rust / capstone-rs

high-level Capstone system bindings for Rust
217 stars 75 forks source link

Use slices instead of iterators in more places #103

Closed tmfink closed 3 years ago

tmfink commented 3 years ago

Similar changes as in #82 and #85. It's easier for the compiler to optimize access to a slice, eliminating the need for changes like #102. Also, slices are probably more ergonomic to work with (and easier to understand).

tmfink commented 3 years ago

handled in #109