3 ms·
How do handle configuration? Your program starts up, generates some settings, then those need to be shared across all threads to avoid incurring the cost of reg
by vhost- 11y ago
How do handle configuration? Your program starts up, generates some settings, then those need to be shared across all threads to avoid incurring the cost of regenerating during every call to a function.
- ajankovic 11y agoBut in that case config values are to be treated as constants (read only). You don't have concurrency issues for code that doesn't change.