I have a file (myWords.txt) which contains one word on each line :
Word 1
Word 2
---
---
Word 3000
With this file, I create a list :
function! MyFunction()
let start = reltime()
exe 'e myWords.txt'
let myList = []
exe '%s/.*/\=add(myList, submatch(0))/g'
exe 'bd!'
echom printf('Duration = %s seconds', reltimestr(reltime(start)))
endfunction
It takes me 34.1666367 seconds
What can I do to download my list more quickly ? Could you help me, please ?