Created
March 2, 2016 20:40
-
-
Save ryanoasis/4ac41f1f69e80aeac889 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FUNCTION Alternate115() | |
| Called 1 time | |
| Total time: 0.000033 | |
| Self time: 0.000019 | |
| count total (s) self (s) | |
| 1 0.000002 let line = ' ~/www/some/big/long/jenky/path/something.something/whatever_it_is/bigUgly/path/too/long/something.vim' | |
| 1 0.000003 let glyphCandidate = char2nr(strpart(line, 0, 3)) | |
| 1 0.000001 let glyphASCIIRangeStart = 57344 | |
| 1 0.000001 let glyphASCIIRangeEnd = 63743 | |
| 1 0.000002 if glyphCandidate >= glyphASCIIRangeStart && glyphCandidate <= glyphASCIIRangeEnd | |
| 1 0.000002 let line = strpart(line, 3) | |
| 1 0.000001 endif | |
| 1 0.000017 0.000003 let line = s:strip(line) | |
| FUNCTION AlternateCached115() | |
| Called 1 time | |
| Total time: 0.000026 | |
| Self time: 0.000013 | |
| count total (s) self (s) | |
| 1 0.000002 let line = ' ~/www/some/big/long/jenky/path/something.something/whatever_it_is/bigUgly/path/too/long/something.vim' | |
| 1 0.000003 let glyphCandidate = char2nr(strpart(line, 0, 3)) | |
| 1 0.000002 if glyphCandidate >= s:glyphASCIIRangeStart && glyphCandidate <= s:glyphASCIIRangeEnd | |
| 1 0.000002 let line = strpart(line, 3) | |
| 1 0.000000 endif | |
| 1 0.000016 0.000003 let line = s:strip(line) | |
| FUNCTION Original115() | |
| Called 1 time | |
| Total time: 0.000033 | |
| Self time: 0.000015 | |
| count total (s) self (s) | |
| 1 0.000003 let line = ' ~/www/some/big/long/jenky/path/something.something/whatever_it_is/bigUgly/path/too/long/something.vim' | |
| 1 0.000008 let line = substitute(line, "[-]", "", "") | |
| 1 0.000022 0.000004 let line = s:strip(line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment