commit | 92a9d4eee080169b05e635b90228830b30cb5773 | [log] [tgz] |
---|---|---|
author | bluss <bluss@users.noreply.github.com> | Sat Sep 23 20:12:13 2017 +0200 |
committer | bluss <bluss@users.noreply.github.com> | Sat Sep 23 20:15:45 2017 +0200 |
tree | 500d5613f04afeb5a8f62e890b9a10c1fae0b355 | |
parent | 29efa1513351c86849b48a7395d293f9e9228c07 [diff] |
FEAT: Speed up Graph, StableGraph::map Use Vec::extend instead of a push loop -- this improves performance. Microbenchmark results: ``` name old ns/iter new ns/iter diff ns/iter diff % graph_map 569 323 -246 -43.23% stable_graph_map 594 405 -189 -31.82% ```