With a small cost it is possible to prepare for a single-thread, multi-thread and cache-per-thread specific cases.