Avoid copy of data values inside the validators
-----------------------------------------------

                 Key: ETCH-226
                 URL: https://issues.apache.org/jira/browse/ETCH-226
             Project: Etch
          Issue Type: Task
          Components: binding-cpp
            Reporter: Michael Fitzner
            Assignee: Michael Fitzner
            Priority: Minor


Currently a copy inside the validateValue method is done. This should be 
avoided.

EtchByte *v = (EtchByte *) value;
result = (EtchObject*) (new EtchByte((capu::int8_t)v->get()));

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to