Name.get_code caching to make lookups faster
This commit is contained in:
1 parent
7f288eb0b0
commit
3d9d0bfd03
2 files changed
+12
-5
No files matched your search
+4
-1
@@ -36,7 +36,10 @@ def main(args):
|
||||
run(code, i)
|
||||
|
||||
jedi.set_debug_function(notices=args['--debug'])
|
||||
cProfile.runctx('run(code, n)', globals(), locals(), sort=args['-s'])
|
||||
if args['--omit']:
|
||||
run(code, n)
|
||||
else:
|
||||
cProfile.runctx('run(code, n)', globals(), locals(), sort=args['-s'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in new issue
Block a user