CGI-FR / RIMO

Rimo contains a series of tools that helps to create a masking.yaml for PIMO.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

performance : pass unique(values) to metricSpecificType

mathisdrn opened this issue · comments

unique() is called multiple time when creating a model.column.
This happen because it needed at both level : GenericMetric, SpecificMetric.

Solution : make SetGenericMetric() return Unique() and pass it to SetStringMetric and SetNumericMetric.

StringMetric do not make use of Unique() but build LenCounter and LenMap.
NumericMetric and BoolMetric do not make use of Unique().

Closing issue