performance improvement for Gen.frequency (using a TreeMap for faster lookup instead of repeated linear scanning)
Gen.frequency
- fix off-by-one error
- handle empty sequences
Merge pull request #83 from rasch/perf

performance improvement for Gen.frequency