This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark' | |
module A; end | |
class DefinedMethodStyle | |
def bust_cache_class(*); Class.new; nil end | |
def bust_cache_extend(*); Object.new.extend(A); nil end | |
def dont_bust_cache(*); Object.new; nil end | |
end |
NewerOlder