Pavel Sanda <sa...@lyx.org> writes: > * Comparison - IIRC Vincent considered some more work which would use > words instead of characters to boost up the process. > Currently the documents which are far from each other will > never finish in a reasonable time. > --Pavel: I need some API for connection in VC_COMPARE...
FWIW, I did profiling some time ago and an important part of the time was spent in push/pop (new/delete) of iterators in vectors. I suspect that doing a reserve(5) on these vectors (or whatever a good default value is) would make Compare snappier. But of course, word-level diff might bring more. I think that when comparing Curstomization.lyx between trunk and branch I saw parts that did not make sense, but I do not have it any more, so I would have to retest. JMarc