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

后端 未结 3 957
挽巷
挽巷 2021-02-12 15:46

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:22

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

提交回复
热议问题