Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个用例,其中需要预先构建番石榴 RangeMap 并将其加载到 redis 中。在将来的某个时候,它会从 redis 中检索并再次使用。
这样做是为了减少构建 rangeMap 本身的时间。
有什么建议或建议吗?RangeMap可以序列化存储到redis中吗?这是最好的方法吗?
此外,单个数据点的范围图的平均查找时间是多少?
日志(n)?m-> 范围数,n-> 平均值。范围的大小