bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail rec


From: Lorenzo Viali
Subject: tail rec
Date: Sun, 23 Feb 2003 03:29:27 -0800 (PST)

Hi,

Will it be an optimisation (from obstacks memory
handling point of view) to add a `dummy'
"(void)peek_input();" in "collect_arguments", just
after they were collected (i.e. "while (more_args);"
fails), but before the closing brace of the
conditional "macro call with parameters" check,
because it would for sure implement tail recursion
optimisation in case the current string input contains
only (the last) one macro call, thus eliminating
current exhausted string from the input stack (which
can be quite large?), making room for (current or)
subsequently macro call expansion(s) to follow.

LV


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]