]> git.llucax.com Git - software/dgc/cdgc.git/commit
Call memset() only for large enough chunks of data
authorLeandro Lucarella <llucax@gmail.com>
Sat, 3 Jul 2010 02:31:57 +0000 (23:31 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Sat, 3 Jul 2010 02:33:44 +0000 (23:33 -0300)
commit11b7fc5cdb1df190c6c434fea14a00e700721fbc
tree3f068f037affd428019bbffce1e394fe7c25c47e
parentdd0f3b1617e380408f300f48c455e2905b859067
Call memset() only for large enough chunks of data

Calling memset() for small memory chunks can be expensive compared to
a simple loop.
rt/gc/cdgc/gc.d