Not logged in
Hex Artifact Content

Artifact a4cf35790a1fcb4e822bf5c9330ad2bd31091228:

  • File tools/cvs2fossil/lib/c2f_prev.tcl — part of check-in [9c57055025] at 2007-12-02 05:49:00 on branch trunk — Performance bugfix. nextmap/premap can still be performance killers and memory hogs. Moved the computation of sucessor changesets down to the type-dependent code (new methods) and the SQL database, i.e. the C level. In the current setup it was possible that the DB would deliver us millions of file-level dependency pairs which the Tcl level would then reduce to tens of actual changeset dependencies. Tcl did not cope well with that amount of data. Now the reduction happens in the query itself. A concrete example was a branch in the Tcl CVS generating nearly 9 million pairs, which reduced to roughly 200 changeset dependencies. This blew the memory out of the water and the converter ground to a halt, busily swapping. Ok, causes behind us, also added another index on 'csitem(iid)' to speed the search for changesets from the revisions, tags, and branches. (user: aku size: 44627)

A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.