[Top][All Lists]

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

Re: [avr-gcc-list] SIGNAL and INTERRUPT overhead

From: Royce Pereira
Subject: Re: [avr-gcc-list] SIGNAL and INTERRUPT overhead
Date: Tue, 23 Aug 2005 09:44:17 +0530
User-agent: Opera M2/8.02 (Win32, build 7680)


On Mon, 22 Aug 2005 23:10:22 +0530, Benjamin Titzer <address@hidden> wrote:

Another peephole optimisation is if a function ends like:

                rcall   label

This is called tail-call elimination and has been known since the days of
Lisp. Usually this optimization is omitted because it makes it harder to
debug code and doesn't seem to be particularly popular with those
writing compilers for procedural languages.

In that case, there could be a switch (or integrated into one of the existing switches) to turn it on or off, . The benefits of this optimisation is quite real in terms of stack usage & speed.

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

reply via email to

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