View Single Post
Old 01-25-2018, 09:49 AM   #11
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
If it would help ... I could collect comments when the opf is parsed that are located anyplace in the opf and create a new pre-parsed data structure that holds all comments together in one place.

Then when rebuilding the opf on the fly after a change, I could insert all comments in the order they were found but all relocated to be either just before the metadata section or just before the manifest section or something along those lines. In other words create a space in the rebuilt opf for all comments that once existed someplace before parsing and rebuilding.
KevinH is offline   Reply With Quote