in reply to Reducing memory footprint of strings

Hmmmm... looks like you two are right.

I also put a sleep command in there, then looked at `top`. RES was right around the expected 100MB.

I guess the `time` statistic is telling me something else or is plain wrong.

@ ikegami: I noticed the `time` command doesn't put out all the different benchmarks on some systems. Also, in order to define a custom format like "%M", be sure to call it directly at /usr/bin/time so an alias doesn't trip you up (like it did me).

Thanks!
  • Comment on [SOLVED] Re: Reducing memory footprint of strings