Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## Managed Open Source blog code # http://blog.managedopensource.com # http://blog.managedopensource.com/2007/10/31/reversal-of-code-performance-optimizations-from-ruby-1-8-to-1-9 ## Ruby benchmark output user system total real for 4.130000 0.070000 4.200000 ( 4.227468) each 3.310000 0.000000 3.310000 ( 3.314974) user system total real << 4.350000 0.030000 4.380000 ( 4.384898) collect 3.570000 0.100000 3.670000 ( 3.701988) user system total real for 4.150000 0.060000 4.210000 ( 4.210407) each 3.350000 0.010000 3.360000 ( 3.363656) user system total real << 4.340000 0.020000 4.360000 ( 4.361846) collect 3.560000 0.110000 3.670000 ( 3.668885) user system total real for 4.110000 0.060000 4.170000 ( 4.163847) each 3.320000 0.000000 3.320000 ( 3.321745) user system total real << 4.340000 0.020000 4.360000 ( 4.355446) collect 3.550000 0.110000 3.660000 ( 3.668928) user system total real for 4.160000 0.070000 4.230000 ( 4.224626) each 3.370000 0.000000 3.370000 ( 3.379422) user system total real << 4.390000 0.020000 4.410000 ( 4.401145) collect 3.570000 0.110000 3.680000 ( 3.676394)
This paste will be private.
From the Design Piracy series on my blog: