> All, > > I'm currently generating a road book for a trip from different Org-Mode > file and other data. It results in a 13 thousands lines Org-Mode file > and I have some performance issues. Using the ELP package, I isolated > the two main bottlenecks. > > 1. One is in org-odt : the org-odt-write-manifest-file function is > called once and takes 5.546672 seconds to write a 167 lines file. I > rewrote this function and now it takes 0.01606 seconds to write the > same file. As usually for this package, I directly send the patch to > the org-odt author.
I think it is multiple write-region that takes the toll. I have pushed a variation of your original fix which minimizes the number of lines originally modified by you. I have acknowledged you as the author in the commit message (even though I appear as the author) > As usually for this package, I directly send the patch to the org-odt > author. Btw, you can post your patches to the list. I am a regular on this list. Jambunathan K. --