Ring isn't used until line 229, if it should be indexed. Perhaps delay initialization until after should_index true? Not really for micro optimization, just a coding practice thought.