Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Map for Cache Affinity

The ordered container implemented based on std::vector.

Note: Use it when the elements is less than 100.

Usage

#include "map.hpp"

int main(void)
{
    // sdk250::Map<Key, Value> { /* Compare function */ };
    // map[Key] = Value;
    auto map = sdk250::Map<uint32_t, std::string> (std::less<uint32_t>());
    map[0] = "Apple";
    map[1] = "Orange";

    return 0;
}

About

The ordered map implement for cache affinity.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages