Whoa... saving a model is now wickedly fast! Thanks a bunch!
Cheers, Anjo
Am 26.11.2008 um 14:16 schrieb mschra..bjectstyle.org:
> Author: mschrag
> Date: 2008-11-26 08:16:02 -0500 (Wed, 26 Nov 2008)
> New Revision: 5576
>
> Modified:
> trunk/woproject/woenvironment/src/java/org/objectstyle/
> woenvironment/plist/WOLPropertyListSerialization.java
> Log:
> amazing, 6% of saving is spent looking for whitespace ... TINY
> performance improvement that's called 1.04 milion times
>
> Modified: trunk/woproject/woenvironment/src/java/org/objectstyle/
> woenvironment/plist/WOLPropertyListSerialization.java
> ===================================================================
> --- trunk/woproject/woenvironment/src/java/org/objectstyle/
> woenvironment/plist/WOLPropertyListSerialization.java 2008-11-26
> 13:15:20 UTC (rev 5575)
> +++ trunk/woproject/woenvironment/src/java/org/objectstyle/
> woenvironment/plist/WOLPropertyListSerialization.java 2008-11-26
> 13:16:02 UTC (rev 5576)
>.. -685,7 +685,7 @@
> }
>
> private static final boolean _isWhitespace(char c) {
> - return c == ' ' || c == '\t' || c == '\n' || c == '\r' || c ==
> '\f';
> + return c < 33 && (c == ' ' || c == '\t' || c == '\n' || c ==
> '\r' || c == '\f');
> }
>
> private static char _nsToUnicode(int c) {
>
This archive was generated by hypermail 2.0.0 : Wed Nov 26 2008 - 09:54:12 EST