Add a cache entry in mod/log_time.c for efficient allocation.