Move ClockMilliseconds to events, so fewer files are loaded some times

This commit is contained in:
w0rp
2018-06-19 20:53:49 +01:00
parent fd261d7a17
commit 82ea36576c
5 changed files with 20 additions and 20 deletions

View File

@@ -241,16 +241,6 @@ function! ale#util#InSandbox() abort
return 0
endfunction
" Get the number of milliseconds since some vague, but consistent, point in
" the past.
"
" This function can be used for timing execution, etc.
"
" The time will be returned as a Number.
function! ale#util#ClockMilliseconds() abort
return float2nr(reltimefloat(reltime()) * 1000)
endfunction
" Given a single line, or a List of lines, and a single pattern, or a List
" of patterns, return all of the matches for the lines(s) from the given
" patterns, using matchlist().