[jira] [Created] (IGNITE-1953) PortableContext: rework ID mappers handling.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-1953) PortableContext: rework ID mappers handling.

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-1953:
---------------------------------------

             Summary: PortableContext: rework ID mappers handling.
                 Key: IGNITE-1953
                 URL: https://issues.apache.org/jira/browse/IGNITE-1953
             Project: Ignite
          Issue Type: Bug
          Components: general, interop
    Affects Versions: ignite-1.4
            Reporter: Vladimir Ozerov
            Assignee: Vladimir Ozerov
            Priority: Critical
             Fix For: 1.5


1) BasicClassIdMapper.typeId do not perform to-lower-case conversion.
2) BasicClassIdMapper appears to behave in absolutely the same way as IdMapperWrapper(null). Then why do we have two constants DFLT_ID_MAPPER and BASIC_CLS_ID_MAPPER?
3) We can slightly improve perofrmance introducing internal ID mapper with two implementations - default (lower case hash code) and delegating (will user-supplied mapper). This way we will reduce amount of virtual calls in the most common case.



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