tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/buf package.html
Date Sat, 26 May 2001 17:12:26 GMT
costin      01/05/26 10:12:26

  Added:       src/share/org/apache/tomcat/util/buf package.html
  Few comments ( I'll expand later )
  Revision  Changes    Path
  1.1                  jakarta-tomcat/src/share/org/apache/tomcat/util/buf/package.html
  Index: package.html
  <H1>Buffers and Encodings<h1>
  This package contains buffers and utils to perform encoding/decoding of buffers. That includes
byte to char
  conversions, URL encodings, etc. 
  Encoding is a critical operation for performance. There are few tricks in this package -
the C2B and 
  B2C converters are caching a ISReader/OSWriter and keep everything allocated to do the conversions

  in any VM without any garbage.
  This package must accomodate future extensions and additional converters ( most imporant:
the nio.charset, 
  which should be detected and used if available ). Also, we do have one hand-written UTF8Decoder,
  other tuned encoders could be added.
  My benchmarks ( I'm costin :-) show only small differences between C2B, B2C and hand-written
  so UTF8Decoder may be disabled. 

View raw message