0dc8383d2e4c722f2e12693aafcaca1909030d76
Not exactly sure what was going on, other than cloning of the FileMatch with its results, since it is recursive I believe this blew up the stack/heap with unnecessary allocations. By using an iterator and filter this seemed to greatly reduce memory use and improve speed.
Description
A simple grep tool written in Rust.
Languages
Rust
100%