Control: tag -1 - patch On Thu, Sep 22, 2022 at 03:48:30PM +0000, Holger Levsen wrote: > Colin, what's the status of this bug? You said you were working on improving > josch' patch in May 2022...?! :)
Yeah, this has taken me a bit longer than expected, but I have in fact been making some progress. josch's patch has been very useful in that it provides an easy way to see differences between unsorted and sorted traversal, and I've taken my goal as being to drive those differences to zero. The only bit I've committed so far has been: https://gitlab.com/cjwatson/man-db/-/commit/bb0f7086ba4ce4503761737bf612088c03b6c495 I also have a few hundred lines of somewhat untidy patch that I'll commit in a few pieces as soon as I'm certain of it; this is all essentially about stabilizing the decisions about which database entries win compared to which other entries, so that the end result doesn't change depending on the scan order. With that, I'm down to on the order of 150 lines of diff of accessdb output against the result of josch's patch, and I think there are only about one or two problems left. A lot of the remaining difficulties are due to somewhat impenetrable old code which appeared to be trying to micro-optimize memory usage in a way that I don't think makes sense nowadays, so I may take a bit of a digression into reorganizing some of this. I'll update this bug as I make further progress. > Also, the bug is currently tagged 'patch', I guess it's appropriate to remove > that tag? Done. -- Colin Watson (he/him) [cjwat...@debian.org]