You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/01/02 03:12:38 UTC

svn commit: r491736 [1/2] - /directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java

Author: elecharny
Date: Mon Jan  1 18:12:37 2007
New Revision: 491736

URL: http://svn.apache.org/viewvc?view=rev&rev=491736
Log:
Heavily modified the code to gain some speed. The normalization of strings now is around 18 times slower than with
the previously used DeepTrimNormalized. It will be tough to improve the code again, but we can remove one pass (I don't know how atm).
- now works with a target array instead of passing Strings from method to method
- the map method directly modify this target array instead of parsing the whole string
- fixed a bug : string were always lowercased 
- internal methods are now private

Modified:
    directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/schema/PrepareString.java