Új hozzászólás Aktív témák

  • Gyuri16

    senior tag

    válasz dabadab #16798 üzenetére

    Mint a regi szep idokben:

    "We cut megabyte after megabyte, and after a few days of frantic activity, we reached a point where we felt there was nothing else we could do. Unless we cut some major content, there was no way we could free up any more memory. Exhausted, we evaluated our current memory usage. We were still 1.5 MB over the memory limit!

    At this point one of the most experienced programmers in the team, one who had survived many years of development in the "good old days," decided to take matters into his own hands. He called me into his office, and we set out upon what I imagined would be another exhausting session of freeing up memory.

    Instead, he brought up a source file and pointed to this line:

    static char buffer[1024*1024*2];

    "See this?" he said. And then deleted it with a single keystroke. Done! "

    [link]
    The Programming Antihero resz a cikk aljan

Új hozzászólás Aktív témák