Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## Arrays.fill ◆ jruby -rbenchmark -X+C -e "def foo; a = b = c = d = e = f = 1; 1.times {} if false; end; 10.times { puts Benchmark.measure { 1_000_000.times { foo } } }" 0.552000 0.000000 0.552000 ( 0.551269) 0.203000 0.000000 0.203000 ( 0.202914) 0.206000 0.000000 0.206000 ( 0.205337) 0.189000 0.000000 0.189000 ( 0.189321) 0.190000 0.000000 0.190000 ( 0.189509) 0.190000 0.000000 0.190000 ( 0.190716) 0.190000 0.000000 0.190000 ( 0.190500) 0.191000 0.000000 0.191000 ( 0.190697) 0.190000 0.000000 0.190000 ( 0.190327) 0.194000 0.000000 0.194000 ( 0.193938) ## fillNil ◆ jruby -rbenchmark -X+C -e "def foo; a = b = c = d = e = f = 1; 1.times {} if false; end; 10.times { puts Benchmark.measure { 1_000_000.times { foo } } }" 0.587000 0.000000 0.587000 ( 0.586712) 0.212000 0.000000 0.212000 ( 0.212031) 0.210000 0.000000 0.210000 ( 0.209961) 0.225000 0.000000 0.225000 ( 0.225044) 0.231000 0.000000 0.231000 ( 0.231167) 0.199000 0.000000 0.199000 ( 0.199359) 0.203000 0.000000 0.203000 ( 0.203739) 0.202000 0.000000 0.202000 ( 0.201874) 0.199000 0.000000 0.199000 ( 0.198942) 0.199000 0.000000 0.199000 ( 0.199027)
This paste will be private.
From the Design Piracy series on my blog: