Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!216.196.98.146.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 18 Nov 2011 14:43:39 -0600 Date: Fri, 18 Nov 2011 12:43:40 -0800 From: Patricia Shanahan User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: alias for Integer References: <21374513.220.1321627842805.JavaMail.geo-discussion-forums@yqmj32> In-Reply-To: <21374513.220.1321627842805.JavaMail.geo-discussion-forums@yqmj32> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 15 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 70.230.194.31 X-Trace: sv3-Luo3FJ6Ujx+C61UuEEGIYsV8EmNGLFvg9wiJ9Qlgu27coC3j971ZDUj20kdS8h83W+Fisp+nr9vtTjN!qKBswyD8OIYdx3RwPUGO7E/y3wQfRvHK77gIIvTxMXHbI+yHkh8uX866soHxgpm3sQ88NHIwTFy4!pGdNQhfoMfyPJEaroh99oNO3Kbkwu+OmN3DL2eAVQD3DAg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1949 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10057 jrobinss wrote: ... > I won't benefit from autoboxing, then... :-( If performance is an issue, autoboxing is a hindrance, not a benefit. It means a non-trivial operation happening without being immediately obvious from the code. You may need to change algorithms and/or data structures to reduce the frequency of creating new objects. Patricia > (I'm just hoping it doesn't break too much of the code, because even though it's mine to break, I don't have infinite time) > > Note that (exceptionnally for me) performance *is* an issue here. I haven't yet narrowed it down, but the code executes very slowly and eats up much too much memory at the moment. I'm starting to optimize it, that's why I'm starting with strongly typing it to prevent errors. ...