[armedbear-devel] Fw: SparseChars patch

ABCL, Here is the SparseChars patch. It shouldn't pass more or less ANSI-TESTs. but will improve performance due to the fact it uses less java heap and copies less. The one thing I might do later is stop using the character iterator (CharHashMap would get a copyToOther(CharHashMap)).. but for now its sane.

2009/10/5 <logicmoo@gmail.com>:
ABCL, Here is the SparseChars patch. It shouldn't pass more or less ANSI-TESTs. but will improve performance due to the fact it uses less java heap and copies less. The one thing I might do later is stop using the character iterator (CharHashMap would get a copyToOther(CharHashMap)).. but for now its sane.
With this patch, the performance is better, but still a lot worse than what we had before increasing CHAR_MAX. If I apply this patch and restore CHAR_MAX to 255, the performance reverts very close to original. Any thoughts?
participants (2)
-
logicmoo@gmail.com
-
Ville Voutilainen