[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] bookkeeping memory allocated per primitive
From: |
Arthur A. Gleckler |
Subject: |
Re: [MIT-Scheme-devel] bookkeeping memory allocated per primitive |
Date: |
Sat, 25 Jun 2011 10:54:05 -0700 |
Any objections to committing this?
None from me. This is a clean, simple solution to what initially sounded like a complicated problem.
My only suggestion is to initialize <Free_primitive> to zero explicitly. That makes it clearer how this test works:
if (Free_primitive < heap_start)
Otherwise, if someone calls <Primitive_GC> outside of a primitive before any primitive is ever invoked, you're relying on this variable being initialized to zero implicitly in order to detect that condition.