commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Chaffee / Purple Technology <g...@stinky.com>
Subject Re: [lang] Optimizing Entities
Date Thu, 29 May 2003 20:42:05 GMT
Good catch.  Yup, that's a natural Inline Method refactoring.  I'll do
that before I check in.

 - A

On Thu, May 29, 2003 at 04:38:20PM -0400, Gary Gregory wrote:
> A,
> 
> I think we can now get rid of the StringEscapeUtils methods:
> 
>     private static String escapeEntities(String str, Entities entities) {
>         return entities.escape(str);
>     }
> 
>     private static String unescapeEntities(String str, Entities entities) {
>         return entities.unescape(str);
>     }
> 
> Gary
> 
> -----Original Message-----
> From: Alex Chaffee / Purple Technology [mailto:guru@stinky.com] 
> Sent: Wednesday, May 28, 2003 14:29
> To: Jakarta Commons Developers List
> Subject: Re: [lang] Optimizing Entities
> 
> Another stab, this time using a lookup table for char values <256.
> Another 25-50% speedup if I'm not mistaken.  This is fun!
> 
> (I haven't checked in the latest changes yet, due to pending license
> issues, but if a release is near, let me know I'll check in a
> releasable version.)
> 
>  - A
> 
> -- 
> Alex Chaffee                               mailto:alex@jguru.com
> Purple Technology - Code and Consulting    http://www.purpletech.com/
> jGuru - Java News and FAQs                 http://www.jguru.com/alex/
> Gamelan - the Original Java site           http://www.gamelan.com/
> Stinky - Art and Angst                     http://www.stinky.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org

-- 
Alex Chaffee                               mailto:alex@jguru.com
Purple Technology - Code and Consulting    http://www.purpletech.com/
jGuru - Java News and FAQs                 http://www.jguru.com/alex/
Gamelan - the Original Java site           http://www.gamelan.com/
Stinky - Art and Angst                     http://www.stinky.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message