neelmanisingh / java-diff-utils

Automatically exported from code.google.com/p/java-diff-utils
0 stars 0 forks source link

Patch for /trunk/src/difflib/DiffUtils.java #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There is less overhead to use Integer.valueOf, rather than instantiating a new 
Integer object.

It can result in performance improvements: 
http://tech.puredanger.com/2007/02/01/valueof/

Original issue reported on code.google.com by madshansen3 on 27 Feb 2011 at 1:48

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed. Thanks for suggestion!

Original comment by dm.naume...@gmail.com on 25 May 2011 at 11:21