I think it's important Lucene keeps good performance on "ordinary" machines/envs.
It's really quite dangerous that the active Lucene devs all use beasts for development/testing. We draw false conclusions. So we really should be testing with -client and if indeed generified Arrays.copyOf (and anything else) is risky in such envs we should not use it when System.arraycopy works more consistently. Mike McCandless http://blog.mikemccandless.com On Thu, Jun 30, 2011 at 2:50 PM, Dawid Weiss <dawid.we...@cs.put.poznan.pl> wrote: >> I don't seen any evidence that this is any slower though. > > You need to run with -client (if the machine is a beast this is tricky > because x64 will pick -server regardless of the command-line setting) > and you need to be copying generic arrays. I think this can be shown > -- a caliper benchmark would be perfect to demonstrate this in > isolation; I may write one if I find a spare moment. > > Dawid > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org