On Sunday, May 24, 2015 at 1:24:26 PM UTC-5, Edward K. Ream wrote: > *The code is fast*
Here is a recent run of the new code: test @file leoFileCommands.py ... test parse: 0.03 sec. test tokenize: 0.09 sec. test add toks: 0.07 sec. test format: 0.18 sec. test total: 0.36 sec. > I haven't gotten around to comparing this with PythonTidy... The figures for PythonTidy are: test @file leoFileCommands.py test Using PythonTidy test total: 1.29 sec. So the new code (LeoTidy) is about 10x faster than PythonTidy. autopep8 takes roughly 6.5 sec. on the same file (using a stopwatch), so LeoTidy is about 18 times faster than autopep8. Anyway, the new code takes less than 1/2 sec. to beautify a large .py file, so Leo could even optionally beautify files when they are saved. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
