1
0
forked from VimPlug/jedi
Files
jedi-fork/test
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
..
2014-04-25 14:39:59 +02:00
2017-02-01 19:21:07 +01:00
2012-04-12 15:47:33 +02:00
2016-12-11 15:03:19 +01:00
2017-03-09 08:58:57 +01:00
2013-08-17 23:40:00 +04:30
2016-08-01 01:13:39 +08:00