Replace malloc + memset with calloc where appropriate
calloc is faster for big allocations. It's also simpler.
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
Showing
Please
register
or
sign in
to comment
calloc is faster for big allocations. It's also simpler.
Signed-off-by:
Rosen Penev <rosenp@gmail.com>