[armedbear-devel] Fw: SparseChars patch

Ville Voutilainen ville.voutilainen at gmail.com
Sun Oct 4 21:55:24 UTC 2009


2009/10/5  <logicmoo at 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?




More information about the armedbear-devel mailing list