On 11/8/06, Karl Fogel <kfogel red-bean.com> wrote:
> IOW, see the test fail...
>
> > and then I'm going to re-do the hash table
> > implementation in the newer, smaller, iterate-able
way.
>
> ...and then see it succeed? (I thought that was what
you meant,
> just checking.)
Exactly. With GC happening at unpredictable points, it's
never clear
whether your test would really catch the failure you had in
mind.
Unless you see it fail.
Having a function to force a GC would help, perhaps combined
with a
function to forbid GC except when forced.
_______________________________________________
Minor mailing list
Minor red-bean.com
http:/
/www.red-bean.com/mailman/listinfo/minor
|