]> git.llucax.com Git - software/dgc/naive.git/log
software/dgc/naive.git
15 years agoInitialize capacity to 0 when allocating a new cell
Alberto Bertogli [Fri, 15 May 2009 02:18:09 +0000 (23:18 -0300)]
Initialize capacity to 0 when allocating a new cell

Otherwise, when later we do cell.capacity == 0 we're using uninitialized
memory and can return the wrong result if we're not lucky enough to get 0s.

15 years agoWhen doing a realloc(), take the size of the type into account
Alberto Bertogli [Fri, 15 May 2009 02:18:07 +0000 (23:18 -0300)]
When doing a realloc(), take the size of the type into account

15 years agoFix some comments
Alberto Bertogli [Fri, 15 May 2009 02:18:06 +0000 (23:18 -0300)]
Fix some comments

Mostly typos and missing 's', but also some minor style improvements.

15 years agoRemove invalid TODO comment
Leandro Lucarella [Fri, 1 May 2009 22:40:51 +0000 (19:40 -0300)]
Remove invalid TODO comment

15 years agoRemove alloc module, move all other modules to gc/ and document v0.9
Leandro Lucarella [Sat, 25 Apr 2009 23:37:44 +0000 (20:37 -0300)]
Remove alloc module, move all other modules to gc/ and document

There are another bugfixes and restructuration (like debug prints
removal). This version should be the initial commit, the previos version
is keeped only because the alloc module can be useful in the future for
other implementations.

15 years agoInitial import
Leandro Lucarella [Sat, 18 Apr 2009 19:53:22 +0000 (16:53 -0300)]
Initial import

All is pretty functional. The alloc module will probably have to go (we
don't want that kind of complexity here).