Shaved 120 MB off RAM usage (from 3.1 GB) by storing melody as int8
Shrunk some types in search result type.
Mitigate effect of tune length on tune weighting.
Constrain tune search by only looking in areas where ngrams were found. Up to 2x speedup.
Decouple the ngram identification process from the filtering process.
Speedup and memory saving. Memory down from 3.00 GB to 1.85 GB.
 - Copy and trim melody so the slice isn't hanging onto a pointer to an over-large array
 - Change types to smaller ones
   - startEndInterval fields from uint to uint16
   - docId from int to uint32
Parallel results
 - Introduce goroutines to the ngram string distance filtering process.

Still quite slow, around 7 seconds to query.