simon-svn: agedu: simon

Commits to Tartarus CVS repository. tartarus-commits at
Sat Nov 8 08:24:38 GMT 2008

SVN root:       svn://
Changes by:     simon
Revision:       8292
Date:           2008-11-08 08:24:38 +0000 (Sat, 08 Nov 2008)

Log message (6 lines):
Optimisations in HTML generation: do not keep calling get_indices()
when we already know the answers, and move all the
round_and_format_age() calls to the top of html_query() instead of
duplicating them all over the rest of the file. Saves about 60% time
on Linux, and a staggering factor of 25 on my Mac (on which,
apparently, mktime() is ludicrously slow).

Modified files:
U   agedu/html.c


More information about the tartarus-commits mailing list