summary refs log tree commit diff stats
path: root/lib/std
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-29 19:39:36 +0800
committerGitHub <noreply@github.com>2021-04-29 13:39:36 +0200
commit5edddd68d04648553bc02d52cd53d3a1a14102f3 (patch)
tree0a50c544369fcca5e063de23df6d0ad390d0a371 /lib/std
parent87229e272ecd4012b750215d35e914580cd8475c (diff)
downloadNim-5edddd68d04648553bc02d52cd53d3a1a14102f3.tar.gz
improve cache line size (#17885)
* improve cache line size

- 64bit system tend to use cache line of 64 bytes
- add align

https://trishagee.com/2011/07/22/dissecting_the_disruptor_why_its_so_fast_part_two__magic_cache_line_padding


Though I'm not sure, what do you think? @timotheecour

* Update lib/pure/concurrency/threadpool.nim
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions