|
|
|
|
|
by btilly
896 days ago
|
|
Even simpler. Just have a Dictionary mapping place name to ID. The slow path is "I haven't seen this name before and I need to store it, making sure that I'm not racing any other thread doing the same." You'd have an upper limit on how many place names you can have. But no hard coding of what they are. |
|