1
0
forked from VimPlug/jedi
Files
jedi-fork/jedi
Dave Halter 989e4bac89 Speed up splitlines.
We use the python function again with the modifications we need.
I ran it with:

    python3 -m timeit  -n 10000 -s 'from jedi.common import splitlines; x = open("test_regression.py").read()'

The speed differences are quite remarkable, it's ~3 times faster:

    10000 loops, best of 3: 52.1 usec per loop

vs. the old:

    10000 loops, best of 3: 148 usec per loop

We might need to speedup splitlines with  as well. It's probably
also a factor 2-3 slower than it should be.
2017-03-09 08:58:57 +01:00
..
2017-03-01 21:06:21 +01:00
2016-12-17 18:00:54 +01:00
2017-03-09 08:58:57 +01:00
2016-07-28 18:12:41 +02:00
2017-02-02 23:39:10 +01:00