Re: A83: Re: Where is everybody?


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

Re: A83: Re: Where is everybody?




Yeah, my general opinion on optimization is that it should not get in the way of succinct,
readable code. For example, the classic optimization:

    ld a,0    ; changes to...
    xor a

...is cool, because (as long as you know the optimization) it is easy to understand and
readable. If an optimization is so obfuscated that it perhaps saves 1 byte, or a few
T-states and *completely* sacrifices code readability, then to hell with the optimization.

This, though, comes from a C++ programmer at heart, who programs with the words
modularity, reusability, and documentation forged in his brain. :)...

James.



Follow-Ups: References: