[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing.el again
From: |
Stefan Monnier |
Subject: |
Re: printing.el again |
Date: |
Thu, 18 Nov 2004 11:30:32 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> Well, I think it's important to know the optimizations we can use or not
> and when.
I don't understand. *You* can't use an optimization: the byte-compiler can.
> That is, if I have a code which test (featurep 'some-package) and
> some-package is not loaded, does the byte-compiler eliminate the code
> associated with this test?
Think of it this way: any optimization should be "semantics preserving" and
should thus only affect the CPU and memory usage but not the beavior. So if
you can think of a case where an optimization induces a different behavior,
there are 3 possibilities:
1 - this case is really outlandish and can be itself considered a bug
(e.g. someone does (provide 'xemacs)).
2 - the case is a real problem and thus the byte-compiler does not use this
optimization.
3 - the case is a real problem but the compiler does use the optimization,
in which case you have uncovered a byte-compiler bug and you should
report it.
Stefan
- Re: printing.el again, (continued)
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/14
- Re: printing.el again, Stefan Monnier, 2004/11/14
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/15
- Re: printing.el again, Stefan Monnier, 2004/11/15
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/15
- Re: printing.el again, Stefan, 2004/11/15
- Re: printing.el again, Luc Teirlinck, 2004/11/15
- Re: printing.el again, Ralf Angeli, 2004/11/16
- Re: printing.el again, Stefan Monnier, 2004/11/16
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/17
- Re: printing.el again,
Stefan Monnier <=
- Re: printing.el again, Vinicius Jose Latorre, 2004/11/18
- Re: printing.el again, Stefan Monnier, 2004/11/18
- Re: printing.el again, Richard Stallman, 2004/11/19
- Re: printing.el again, Richard Stallman, 2004/11/17