You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have been using this tool to generate large report documents (over 100 pages) that contain many large tables with data in them. This has worked until I recently attempted to upgrade from v2.3 to v2.4, and the time to generate these documents has dramatically increased to the point of rendering it unusable.
After investigating, I found that the time increases are all within rows that add the text to each cell, like this:
This new feature is not very performant when it comes to inserting data cell by cell into many larger tables. This appears to be already recognised somewhat as the Container function which has a way of internally disabling it via an internal member _preventUpdateParagraphIndexes:
this internal member is used in a number of the ReplaceText methods to temporarily disable it.
Is there a way for us to disable this indexing feature temporarily ourselves until the entire table is built? If not, is this something that could be added in v2.5, as 2.4 is pretty much unusable at present?
The text was updated successfully, but these errors were encountered:
thank you for your feedback.
This is a known issue and a fix has already been implemented. It will be included in v2.5.
It should improve your performance.
Thank you.
Hello,
I have been using this tool to generate large report documents (over 100 pages) that contain many large tables with data in them. This has worked until I recently attempted to upgrade from v2.3 to v2.4, and the time to generate these documents has dramatically increased to the point of rendering it unusable.
After investigating, I found that the time increases are all within rows that add the text to each cell, like this:
If I remove or comment out these rows the document generation time is comparable to beforehand.
Looking at the changes since v2.3 in that function I see the new call to UpdateParagraphIndexesAndCurrentParagraphEndIndex:
which in turn calls:
This new feature is not very performant when it comes to inserting data cell by cell into many larger tables. This appears to be already recognised somewhat as the Container function which has a way of internally disabling it via an internal member _preventUpdateParagraphIndexes:
this internal member is used in a number of the ReplaceText methods to temporarily disable it.
Is there a way for us to disable this indexing feature temporarily ourselves until the entire table is built? If not, is this something that could be added in v2.5, as 2.4 is pretty much unusable at present?
The text was updated successfully, but these errors were encountered: