- // for compatibility with wxHashTable (to avoid reimplementig it
- // from scratch), we need to preserve the order of nodes in a
- // source bucket when copying the table, hence, to avoid
- // allocating an auxiliary table we use a circular list for each
- // bucket, and we keep the *tail* of each list in dstTable[i], to
- // be able to append nodes in O(1) time. Wen we're done copying,
- // we adjust dstTable[i] to point at the head of the list and we
- // break the circular list into a linear one.
- size_t i;
-
- for( i = 0; i < srcBuckets; ++i )