Am 27.02.2016 um 12:25 schrieb Jörg F. Wittenberger:
> Hi folks,
> 
> if you really consider anything to be done to the argvector handling
> before the next release

...

I wonder: why not malloc exactly one argvector of TEMPORARY_STACK_SIZE
word and drop all the checking?

Then either the current av vector is the one passed in, then we can
safely reuse it.  If it's not we re-use the global anyway.

The downside: now we have one more area to scan in the garbage
collector.  (That's why I preferred to stack allocated one so far).

However reading the related code I get the feeling that we even could
simply use the temporary_stack as the argvector.  However I'm not sure
about that one.

Just thoughts.

Best

/Jörg



_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to