|
|
|
|
|
by gumby
2793 days ago
|
|
Ahh, I looked in the source and see that runtime_map is simply a std::unordered_map. I didn't look closely enough and assumed you'd made your own hash lookup so that parts of it could be run at compile time (in fact you could intern compile-time keys statically in the front of an object (in the initialized data section of the object file) adding a single additional probe at runtime) and let the linker patch up the locations in the usual fashion. This is all a move in the right direction! |
|