directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <>
Subject Re: Value processing on the server (was Re: Directory Studio: Backslash in DN breaks studio)
Date Sat, 12 Mar 2016 09:16:52 GMT
On 03/11/2016 11:54 PM, Emmanuel L├ęcharny wrote:
> We could question the rational behind the normalization being done
> preemptively when we receive the data. All in all, we will return
> entries as they were injected, without normalization, and most of the
> Entry's values will never need to be compared, thus won't need
> normalization.
> As I said, normalization is mainly needed for comparisons. So why do we
> normalize *all* the values ?
> This is a choice made early in the Server's design. For the values that
> are going to be compared, we whave three options :
> -1- normalize when we initially receive the data
> -2- normalize the value only when we need to compare it
> -3- normalize the value when we first need it, and keep the normalized
> value in memory, to avoid following normalizations.
> All in all, this is a balance, and we decided a long time ago that
> having the normalized available at all time was way simpler, and
> potentially more efficient.

I think it is good as it is, I don't see that we need to change it.
Especially let's avoid option 3 which would introduce even more complexity.

View raw message