Skip to content

Instantly share code, notes, and snippets.

@lightningdb
Created June 2, 2010 05:23

Revisions

  1. lightningdb created this gist Jun 2, 2010.
    3 changes: 3 additions & 0 deletions gistfile1.builder
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    many_elements.each do |foo|
    dict[foo] ||= expensive_computation
    end