Skip to content

Instantly share code, notes, and snippets.

@stuartsierra
stuartsierra / concat.org
Created April 4, 2014 20:44
Demonstrations of Clojure `concat` StackOverflow

Concat StackOverflow

Demonstrations of how clojure.core/concat can produce a StackOverflow.

Classic concat bomb

This is the most obvious case: A loop that builds up a sequence by concatenation.

@mlimotte
mlimotte / MemoryJoin
Created March 16, 2011 17:44
A Cascalog function to join a small file that can fit in memory, map-side.
package foo.cascalog;
import cascading.flow.FlowProcess;
import cascading.flow.hadoop.HadoopFlowProcess;
import cascading.operation.FunctionCall;
import cascading.operation.OperationCall;
import cascading.tuple.Tuple;
import cascading.tuple.TupleEntry;
import cascalog.CascalogFunction;
import org.apache.hadoop.conf.Configuration;