Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
thrice in my benchmark. it operates inplace
As far as rust is concerned,
mut a
is not a change of signature.Is this solution really twice faster than approach with iterators?
I'm not sure how the term "signature" is strictly defined, but for all practical purposes I wouldn't consider
mut
a part of a signature. The vector is borrowed the same way andmut
refers to a local variable, so the difference can't be observed outside.Is it ok to change function signature?