Improve Ruby struct constructor speed
-------------------------------------

                 Key: THRIFT-188
                 URL: https://issues.apache.org/jira/browse/THRIFT-188
             Project: Thrift
          Issue Type: Improvement
          Components: Library (Ruby)
            Reporter: Bryan Duxbury


For cases when you have no default values for your fields, you still end up 
paying some cost to check if there are default values. It turns out that it 
costs about half as much to check if a Ruby hash is empty as it does to iterate 
an empty hash, probably because of the block allocation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to