Created
September 22, 2010 02:58
-
-
Save rsinger/591050 to your computer and use it in GitHub Desktop.
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 'rubygems' | |
require 'marc' | |
MARC::Reader.new('blacklight-data/lc_records.utf8.mrc').each do | rec | | |
rec.fields('001') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ross@ross-netbook:~/tmp/marc$ time ruby ./just_001s-index.rb
real 1m2.646s
user 0m55.727s
sys 0m5.212s
ross@ross-netbook:~/tmp/marc$ time ruby ./just_001s-index.rb
real 1m0.587s
user 0m55.023s
sys 0m5.040s
ross@ross-netbook:~/tmp/marc$ time ruby ./just_001s-index.rb
real 1m1.006s
user 0m54.623s
sys 0m5.140s