https://issues.apache.org/bugzilla/show_bug.cgi?id=51524

--- Comment #1 from Antoni Mylka <[email protected]> 2011-07-18 
16:46:33 UTC ---
Created attachment 27297
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27297
Hack which disables the paragraphs structure rebuild

The attached file is an ugly hack I whipped up for myself. It allows me to
bypass the paragraph rebuilding procedure. The HWPFDocument constructor takes 5
seconds now and I can use the content. Without it the constructor would take
more than an hour on my machine. I didn't wait to the end.

Obviously this doesn't solve the problem and there are definitely consequences
I'm not aware of. So please, either apply the patch (or something along the
lines, allowing the user to bypass that method) and document the consequences,
or accelerate that code to do what it's supposed to do faster.

The link I supplied gives a good test case.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to