Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.utanet.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Newsgroups: comp.lang.java.programmer From: Andreas Leitgeb Subject: Re: Bulk Array Element Allocation, is it faster? References: <9e8fplF19bU1@mid.individual.net> <9e8kdhF6lmU1@mid.individual.net> Reply-To: avl@logic.at User-Agent: slrn/pre0.9.9-111 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Date: 25 Sep 2011 15:26:47 GMT Lines: 13 NNTP-Posting-Host: gamma.logic.tuwien.ac.at X-Trace: 1316964407 tunews.univie.ac.at 11354 128.130.175.3 X-Complaints-To: abuse@tuwien.ac.at Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8297 Jan Burse wrote: > Main question I have here is not about relative > correctness of bulk versus lazy. But why bulk is > counterintuitively much faster? > > Since the bulk is much faster I am assuming ... I understand perfectly well, that you *were* resorting to those assumptions when you first noticed the effect, but after Patricia's and others' answers I wouldn't expect those assumptions to be still necessary to explain your observations.