1
2
3
4
module Enumerable
  # Sorts the enumeration by mapping the
  # values in the enumeration through the given block.
...

Ruby sort_by_multiple

by Sporkmonger, September 05, 2008 13:11, 12 refactorings, tagged with speed, sorting

require "benchmark"
data_s...

56ee28134dd0776825445e3551979b14 Talk
1
2
3
4
# Boids - A Shoes Application
#
# Author       : Wally Glutton - http://stungeye.com
...

Ruby Boids - A Shoes Application

by stungeye, March 03, 2008 06:42, No refactoring, tagged with boids, swarm, shoes, vector, speed

You will need Shoes install...

0611073adbcf46f93b7d8bf059c109b8 Talk
1
2
3
4
SIXTYTWO = ('0'..'9').to_a + ('a'..'z').to_a + ('A'..'Z').to_a

def to_s_62(i)
...

Ruby Base 62 Encoding

by michiel, November 01, 2007 01:42, 1 refactoring, tagged with speed

Base WHAT??? Well, 62 is th...

7c45f63f61e478233f0c2ad3006b178c Talk