Date: Tue, 5 Sep 2006 10:40:43 +0300 From: Giorgos Keramidas <keramida@FreeBSD.org> To: Garance A Drosehn <gad@FreeBSD.org> Cc: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-current@FreeBSD.org, Julian Elischer <julian@elischer.org> Subject: Re: Adding a '-D date' option to `cat' Message-ID: <20060905074043.GA87471@gothmog.pc> In-Reply-To: <p06230937c122c6983e00@[128.113.24.47]> References: <200608281545.k7SFjn6l063922@lurza.secnetix.de> <p06230928c11e2298ca97@[128.113.24.47]> <200609020956.54008.Lucas.James@ldjcs.com.au> <20060902031247.GE749@turion.vk2pj.dyndns.org> <20060904192006.GA3292@turion.vk2pj.dyndns.org> <p06230937c122c6983e00@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
--BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2006-09-05 03:28, Garance A Drosehn <gad@freebsd.org> wrote: > I intend to commit this within a few days, unless there are major > objections to it. I am posting this HEADSUP under a new subject, > so people can dump all kinds of paint over me before I commit it. > > [snip patch to cat(1)] Hi, If you really plan to commit this, please consider Julian's original approach of comparing the gettimeofday() results with previous runs and re-using previous output of strftime(), since the latter is probably a quite 'expensive' operation. -- Giorgos --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE/Sn71g+UGjGGA7YRAkTIAJ9unGIHrNZmftckS/ApTFUyM8ShFACdEDUT UU1hDUyE1MB1BXJUa6oxdP0= =1g4y -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060905074043.GA87471>