To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=50842





------- Additional comments from [EMAIL PROTECTED] Thu Jul 28 13:20:46 -0700 
2005 -------
Attached is a patch that re-implemented the hashmgr to use mmap and a hash.
This reduces memory usage from
   5720(Virt), 4268(Res), 784(Shared)
to
   3544(Virt), 2120(Res), 1480(Shared)

Real memory usage goes from 3.5M to ~680k.

The speed performance for this using example.cxx with en_US.aff/en_US.dic on a
48K wordlist is as follows.

Original:
Dict. Load time: 0.055039s
Spellcheck time: 0.090797s
Suggestion time: 201.663333s

Patched:
Dict. Load time: 0.018988s
Spellcheck time: 0.112063s
Suggestion time: 242.731333s



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to