[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5036) Make IntegerType, LongType more efficient

Tomas Pollak (JIRA) noreply at atlassian.com
Wed Mar 24 13:02:31 EDT 2010


Make IntegerType, LongType more efficient
-----------------------------------------

                 Key: HHH-5036
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5036
             Project: Hibernate Core
          Issue Type: Improvement
    Affects Versions: 3.3.1
            Reporter: Tomas Pollak


Currently the get() method for IntegerType and LongType allocate a new object every time. It would improve the memory performance if the calls to the constructors were replaced by Integer.valueOf() and Long.valueOf() respectively.

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list