logoalt Hacker News

Making ast.walk 220x Faster

33 pointsby palashawastoday at 4:25 PM7 commentsview on HN

Comments

eskatoday 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.

show 1 reply
westurnertoday 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

show 2 replies
123rust123today at 4:45 PM

let me guess, the improved version is written in Rust?

show 1 reply