chillitom
Joined 16 years ago
Karma
202
Submissions
36
Member since
Aug 26
Joined 16 years ago
Previously we had to use ProcessPoolExecutor which meant maintaining multiple copies of the runtime and shared data in memory and paying high IPC costs, being able to switch to ThreadPoolExecutor was hugely beneficially in terms of speed and memory.
It almost feels like programming in a modern (circa 1996) environment like Java.
auto aligned_p = std::assume_aligned<16>(p)
Would be interesting to see if auto vec performs better with that addition.
There was a post here a little while back asking AI models to count the number of Rs in the word raspberry and most failed.