Re:FasterPath: Faster Pathname Handling for Ruby Written in ...
by ape4 on Friday June 17, 2016 @05:58PM
(#11925809)
Exactly what I was thinking. You look for the last slash and truncate.
[ Parent
| on HN ]
Re:FasterPath: Faster Pathname Handling for Ruby Written in ...
by ugexe on Friday June 17, 2016 @07:18PM
(#11926131)
This is a naive solution. Try using that on windows.
Re:FasterPath: Faster Pathname Handling for Ruby Written in ...
by ajmurmann on Friday June 17, 2016 @08:23PM
(#11926359)
This actually makes me wonder if it would be worthwhile to look for this and similar issues and remove Windows support from the methods for a custom implementation. It might shave off some more time.