editorial
Free Access

The Fallacy of Premature Optimization

Online:01 February 2009Publication History

Abstract

Moore's Law makes it seem as if resource limitations are always a minor consideration. If there will be twice as much memory for the same price in 18 months, why bother to squeeze a factor of 2 from an application's memory requirements? If the CPU will be twice as fast by then, why bother to shave some running time from a program? In other words, why bother to optimize programs? Isn't it better to just get them running and let Moore's Law take us off the hook when resources are constrained? Randall Hyde argues that optimization is important even when memory and processor double regularly. Trying to do the optimization too early can be a futile time-waster.

Index Terms

  1. The Fallacy of Premature Optimization

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        Ubiquity cover image
        Ubiquity  Volume 2009, Issue February
        February 2009
        5 pages
        EISSN:1530-2180
        DOI:10.1145/1569886
        Issue’s Table of Contents

        Copyright © 2009 ACM

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Online: 1 February 2009
        • Published: 1 February 2009

        Permissions

        Request permissions about this article.

        Request Permissions

        Qualifiers

        • editorial

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      HTML Format

      View this article in HTML Format .

      View HTML Format
      About Cookies On This Site

      We use cookies to ensure that we give you the best experience on our website.

      Learn more

      Got it!