This file contains hidden or 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
| module Feedzirra | |
| class AtomEntry | |
| include SAXMachine | |
| element :title | |
| # the :as argument makes this available through atom_entry.author instead of .name | |
| element :name, :as => :author | |
| element "feedburner:origLink", :as => :url | |
| element :summary | |
| element :content | |
| element :published |
This file contains hidden or 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' | |
| require 'rubygems' | |
| require 'json' | |
| require 'yaml' | |
| include Benchmark | |
| benchmark_iterations = 1 | |
| large_single_dimension_array = [42, 123.123] * 5000 | |
| large_single_dimension_hash = {} | |
| 10000.times do |i| |
NewerOlder