Author: muggenhor
Date: Thu May 29 12:18:18 2008
New Revision: 5202

URL: http://svn.gna.org/viewcvs/warzone?rev=5202&view=rev
Log:
 * Fetch the column numbers by column name only once for the BASE_STATS and 
COMP_BASE_STATS parts of every SQL query (rather than once for every result row 
from a query)
  * This replaces O(n * m * l) behaviour with O(n + m * l) behaviour (where n 
is the amount of rows returned by a query, m the amount of columns resulting 
from a query and l the average length of each column's name)

Modified:
    trunk/src/stats-db.c


_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits

Reply via email to