Cache options hash lookup on the stack
Extract build-time stdlib check to a method
Move tab creation outside of the debug loop
Remove unnecessary lasgn