Changeset 2056 for trunk/src/kmk/read.c


Ignore:
Timestamp:
Nov 4, 2008, 4:25:19 AM (17 years ago)
Author:
bird
Message:

kmk: some MBs of memory during building by freeing up the chopped up command lines after we're done with them. (Code not perfect, but wtf., it saves me 7 MBs (out of 45), a bunch of faults and turns out to using less cpu time...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/read.c

    r2041 r2056  
    25402540      cmds->commands = savestring (commands, commands_idx);
    25412541      cmds->command_lines = 0;
     2542#ifdef CONFIG_WITH_MEMORY_OPTIMIZATIONS
     2543      cmds->refs = 0;
     2544#endif
    25422545    }
    25432546  else
Note: See TracChangeset for help on using the changeset viewer.