2 ms·
What if you have a large map that represents an in-memory read-only database, and you wish to share its contents between different threads, where each thread ca
by amelius 4y ago
What if you have a large map that represents an in-memory read-only database, and you wish to share its contents between different threads, where each thread can perform complicated queries? Would you need to duplicate it?
- jollybean 4y agoI can't speak for the author, but it would seem to me that some kind of mutex or whatever can be used in situations were you need them.