incubator-etch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Fitzner (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ETCH-226) Avoid copy of data values inside the validators
Date Wed, 21 Mar 2012 10:11:41 GMT
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

        

Mime
View raw message