Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Dealing with higher order operations coupled with primitives Date: Fri, 22 Jun 2012 07:45:33 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <6s2dnZ1-8r4ofH7SnZ2dnUVZ_s6dnZ2d@giganews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 22 Jun 2012 14:45:37 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Aj4gkJnboYPtscrbpd0V8g"; logging-data="19323"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MDkG+TDwEHgErx2P9Q0QuqG//s7S0RDQ=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 In-Reply-To: Cancel-Lock: sha1:cCt+KbCf817Z1wFHy1WTf2NKM0s= Xref: csiph.com comp.lang.java.programmer:15516 On 6/22/2012 5:00 AM, rossum wrote: > By all means eleminate boxing if you boxing program runs too slowly, > but until you have written it, tested it and profiled it to show that > boxing is the problem then you have no reason to avoid boxing. Just to interject gently here: It seems to me that the OP has stated that he did experiment with Objects, and confirmed that the overhead was too high for his purposes.