document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-139394\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"><span class=\"nb\">require<\/span> <span class=\"s1\">&#39;benchmark&#39;<\/span><\/div><div class=\"line\" id=\"LC2\"><span class=\"no\">Benchmark<\/span><span class=\"o\">.<\/span><span class=\"n\">bm<\/span> <span class=\"p\">{<\/span> <span class=\"o\">|<\/span><span class=\"n\">x<\/span><span class=\"o\">|<\/span> <span class=\"n\">x<\/span><span class=\"o\">.<\/span><span class=\"n\">report<\/span> <span class=\"p\">{<\/span> <span class=\"nb\">require<\/span> <span class=\"s1\">&#39;rubygems&#39;<\/span> <span class=\"p\">}<\/span> <span class=\"p\">}<\/span><\/div><div class=\"line\" id=\"LC3\">&nbsp;<\/div><div class=\"line\" id=\"LC4\"><span class=\"c1\">#<\/span><\/div><div class=\"line\" id=\"LC5\"><span class=\"c1\">#   user     system   total      real<\/span><\/div><div class=\"line\" id=\"LC6\"><span class=\"c1\"># eager transformation<\/span><\/div><div class=\"line\" id=\"LC7\"><span class=\"c1\">#   1.622410 0.031200 1.653611 ( 1.581316)<\/span><\/div><div class=\"line\" id=\"LC8\"><span class=\"c1\"># lazy transformation<\/span><\/div><div class=\"line\" id=\"LC9\"><span class=\"c1\">#   1.170008 0.031200 1.201208 ( 1.099220)<\/span><\/div><div class=\"line\" id=\"LC10\"><span class=\"c1\">#<\/span><\/div><\/pre><\/div>\n          \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/139394/aee697ad3176cb531ea5cdcb333c60e9e77f76a9/lazy-transformation.rb\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/139394#file_lazy_transformation.rb\" style=\"float:right;margin-right:10px;color:#666\">lazy-transformation.rb<\/a>\n          <a href=\"http://gist.github.com/139394\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
