I have an use-case where a guava RangeMap needs to pre-built and loaded into redis. At some point in the future, it would be retrieved from redis and used again.
This is done to reduce the time in building the rangeMap itself.
Any suggestions or recommendations? Can the RangeMap be serialized and stored into redis? is this the best way?
Also, what is the average lookup time for a range map for a single data-point?
mlog(n)? m-> number of ranges, n -> avg. size of the range