Data structure for O(log N) find and update, considering small L1 cache

后端 未结 3 1620
夕颜
夕颜 2021-02-12 15:41

I\'m currently working on an embedded device project where I\'m running into performance problems. Profiling has located an O(N) operation that I\'d like to eliminate.

I

3条回答
  •  日久生厌
    2021-02-12 16:35

    Since you have limited N, can't you use std::set B with Boost's pool_allocator?

提交回复
热议问题