optimization : speed vs size

Umm <l41484@alfa.ist.utl.pt>
19 Aug 1997 22:58:11 -0400

          From comp.compilers

Related articles
optimization : speed vs size l41484@alfa.ist.utl.pt (Umm) (1997-08-19)
| List of all articles for this month |

From: Umm <l41484@alfa.ist.utl.pt>
Newsgroups: comp.compilers
Date: 19 Aug 1997 22:58:11 -0400
Organization: Compilers Central
Keywords: optimize, question, comment

  I would like to get pointed to documentations, preferably web available.
(html, PS, whatever as long as i can read it) about a debate whether the
code (nowadays) should be optimized for speed of execution or code size.

while i am at it, is there any tool (or something i dunno) that is used to
measure to quality of code produced by a compiler (x86 only) or some kind
standard source which can then be used to watch the produced code.

                                                  Tiago Umm Pascoal
                                        'The unstoppable mail machine'

[Depends on your target platform and audience -- the embedded market cares
deeply about code size, most others more about speed, but even if you care
about speed, a loop that fits in your chip's cache will often run a lot
faster than a nominally slow one that doesn't. -John

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.