helpers: Don't clean path twice
authorAlbert Nigmatzianov <albertnigma@gmail.com>
Sun, 7 May 2017 15:16:36 +0000 (17:16 +0200)
committerAlbert Nigmatzianov <albertnigma@gmail.com>
Sun, 7 May 2017 15:16:36 +0000 (17:16 +0200)
commit9b080dc62555580b2d8076e0a899eb07016d6692
treee7094fd370a776677d7fc825ca0fd4bc5be6b072
parent231c0a7e090e9cc131409c997963f9bffc49204b
helpers: Don't clean path twice

Join calls Clean as it says in docs.

Minor performance improvement:
Before:
Average time per operation: 432ms
Average memory allocated per operation: 127322kB
Average allocations per operation: 2138137

After:
Average time per operation: 428ms
Average memory allocated per operation: 127350kB
Average allocations per operation: 2137892
helpers/path.go