Reduce GC requirements by creating fewer objects during closure
PredictionContext instances are not naturally ordered, so remove Comparable implementation
Merge pull request #278 from sharwell/reduce-gc