From: Jean Privat Date: Mon, 28 Sep 2015 14:42:57 +0000 (-0400) Subject: Merge: Basename fix X-Git-Tag: v0.7.8~1 X-Git-Url: http://nitlanguage.org Merge: Basename fix Should close #1736 if performances are adequate for @privat. This PR optimizes some methods in both `SequenceRead` and `FlatString`, on the test program exposed in #1736, the valgrind runtime has gone from 418,872,526 Ir to 136,522,095 Ir (~67.5% improvement) Some more improvements could be observed if we could get rid of some useless Boxes in `NativeString::to_s_with_copy` because of a `is_same_instance` which boxes NativeStrings (24k allocations in total to remove). Pull-Request: #1740 Reviewed-by: Jean Privat --- 1829b222dc6bcb6870bf9eaf47b12f107277796e