Making ast.walk 220x Faster

40 points - today at 4:25 PM

Source

Comments

eska today at 5:09 PM
I appreciate that you first tried to optimize the original Python code. Idiomatic Python is unfortunately disappointingly slow and not so interesting to compare to.
westurner today at 4:55 PM
Could this ast.sprint ast.walk optimization make libCST or bandit faster? https://news.ycombinator.com/item?id=39111747

libCST: https://github.com/Instagram/LibCST

bandit: https://github.com/PyCQA/bandit

Links to codemod tools; "Baby Steps into Genetic Programming" https://news.ycombinator.com/item?id=43617655

123rust123 today at 4:45 PM
let me guess, the improved version is written in Rust?