On Sat, May 31, 2014 at 17:00, Cameron Stewart wrote:
> - change memset before free to explicit_bzero
> - change ordinary memset's to bzero
Actually, memset is preferred to bzero in the ordinary case.
Another good reason to make separate diffs for separate changes. :)
- change memset before free to explicit_bzero
- change ordinary memset's to bzero
- change if(!data) malloc else realloc to realloc
- explicit_bzero on downsize instead of memset
Possible an advantage (the only?) of the previous allocator was this
memset would have never been optimised out.
S