https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=396f46d904ab7509476b0d824ec2e4d9a231a2df
bug#61489: Increase BLOCK_ALIGN from 1024 to 32768
Originally discovered by Tyler Dodge in his article "Significant Garbage
Collection Improvement For Emacs".
While testing this change on Archlinux system with Intel i5-7200U CPU,
average time of garbage collection gets reduced by ≈25%. Other users
report improvements up to 50%. While monitoring PSS of emacs with and
without customizations loaded before and after the patch, no
statistically significant differences were discovered. So overall, this
change is a win.
* src/alloc.c (BLOCK_ALIGN): increase from 1024 to 32768.
我的hackintosh(i7 8700T+32G内存)测试上面url里的testcase从0.80s降到0.5s左右。