I am looking for minimalistic alternative for std::map<long, int>, which would go into Windows kernel driver, so it should be quite fast.. it is expected to hold a relatively small (~200 in working set) amount of keys and a large amount of inserts.
Looking for solution that can cut key search cost.
Already done for you.
See the RtlXxxGenericTable and RtlXxxGenericTableAvl calls.
RtlNumberGenericTableElements