Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The case where I've seen those tricks used with measurable effect was a Python debugger - specifically, its implementation of the sys.settrace callback. Since that gets executed on every line of code, every little bit helps.

(It's much faster if you implement the callback in native code, but then that doesn't work on IronPython, Jython etc.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: