Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: The first 10 files Date: Sat, 26 Jan 2013 22:15:11 +0100 Lines: 18 Message-ID: References: <51041ff8$0$284$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: individual.net uHb8FETPXykJdapR50kdeggoMcEsIVcVcb2/cp/huSPc9YlZz0wSbSDWQhsfug+ug= Cancel-Lock: sha1:GswAOYyEuTdJ4RztYwETJoOr0c8= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: <51041ff8$0$284$14726298@news.sunsite.dk> Xref: csiph.com comp.lang.java.programmer:21750 On 26.01.2013 19:26, Arne Vajh=F8j wrote: > But I am a bit skeptical about whether a String[] with 30K elements > is really the bottleneck. > > If the real bottleneck is the OS calls to get next file, then > a filter like this will not help. Why? Kind regards robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/