directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DIRAPI-276) RDN normalization is under efficient
Date Wed, 11 May 2016 13:12:12 GMT

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

Emmanuel Lecharny edited comment on DIRAPI-276 at 5/11/16 1:11 PM:
-------------------------------------------------------------------

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


was (Author: elecharny):
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)

Mime
View raw message