don't call curns() repeatedly, store its output.
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Sun, 29 Apr 2012 20:18:34 +0000 (16:18 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Sun, 29 Apr 2012 20:18:34 +0000 (16:18 -0400)
commitb7f0e3fbb6cc1cbe45236e66864dca7c2f22aa22
treef9716c47ff17797e20cf112cdb407058a8caf04e
parent3bf57117f9bcbd7a610ec610f8312d444c8e7738
don't call curns() repeatedly, store its output.

curns() was being called multiple times, when it only needed to be
called less frequently, and its output remembered.
src/time.c