GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Methods defined with `define_method` are slower to call · Issue #22 · fastruby/fast-ruby Open Labels DescriptionWhile require "benchmark/ips" object = Class.new { module_eval "def evaled_method; end" define_method(:defined_method) {} }.new Benchmark.ips do |x| x.report("module_eval") { object.evaled_method } x.report("define_method") { object.defined_method } x.compare! end I think you benefit more from a method being faster to call than faster to define. Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |