bluescripts/classopoly — pull request #1 by jacobat (2011-10-22 15:13:24+00:00)
Title: Optimized version of parse_to_time_slices

It runs about 10 times faster now:

```
s = Scheduler.new('', nil)
Benchmark.measure do
100.times do
s.parse_to_time_slices_optimized('wednesday', ['8:30', '16:30'])
end
end
=> 0.020000 0.000000 0.020000 ( 0.017566)

Benchmark.measure do
100.times do
s.parse_to_time_slices('wednesday', ['8:30', '16:30'])
end
end
=> 0.150000 0.000000 0.150000 ( 0.151861)
```