[ 
https://issues.apache.org/jira/browse/DIRAPI-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280086#comment-15280086
 ] 

Emmanuel Lecharny commented on DIRAPI-276:
------------------------------------------

The {{ 
https://svn.apache.org/repos/asf/directory/shared/branches/shared-value}} 
branch fixes this issue. The parsing is now " times faster.

> RDN normalization is under efficient
> ------------------------------------
>
>                 Key: DIRAPI-276
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-276
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M33
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0
>
>
> Normalization of RDN is really unefficient. Actually, even if you pass a 
> valid {{SchemaManager}} to the {{Rdn}} contructor, it is still a two phases 
> process, where all the {{Avas}} are created twice :
> * parse the RDN
>   ** for each AVA, create an Ava instance and feed the Rdn instance
> * normalize the RDN
>   ** for each Ava, create a new Ava instance and replace the existing Ava
> This is just crazy...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to