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

Igor Sapego commented on IGNITE-5163:
-------------------------------------

[~tledkov-gridgain],

I have concerns about 
{{org.apache.ignite.internal.processors.odbc.SqlListenerMessageParserImpl#encode()}}
 method. To be more clear, the lines from 200 to 255. There is huge number of 
{{if-else}} pairs and I doubt branch prediction is going to work well on such 
code. Can't we use something less "branchy" here? Something like hash-map or 
switch?

> JDBC Driver: implement handshake for thin jdbc driver based on common 
> odbc/jdbc protocol
> ----------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5163
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5163
>             Project: Ignite
>          Issue Type: Task
>          Components: odbc, sql
>    Affects Versions: 1.9
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>             Fix For: 2.1
>
>
> The GridClient must be removed from thin jdbc driver.
> It is the first step to unify JDBC & ODBC protocols.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to