This line:
Code:
L*neasDeArchivo = Split(sr.ReadToEnd(), vbCrLf)
in this code:
Code:
Dim L*neasDeArchivo() as String
fs = File.OpenRead(FilePath)
sr = New StreamReader(fs)
L*neasDeArchivo = Split(sr.ReadToEnd(), vbCrLf)
fs.Close()
takes too much time (63 seconds, because there are 2,000,000.0 lines to pass to L*neasDeArchivo() array).
¿somebody knows a faster way?
_