Re: Dealing with higher order operations coupled with primitives

Discussion in 'Java' started by Lew, Jun 22, 2012.

  1. Lew

    Lew Guest

    Aaron W. Hsu wrote:
    > Thank you for pointing out that boxing might not matter, though in all
    > my experiences, it does. I'll post actual code soon, though, to see whether
    > this is just ignorance on my part.


    A number of things affect how much autoboxing affects performance.

    Let the code spin up 10000 times with the JVM in "-server" mode and watch your
    performance issues melt away.

    I am being a little fey with that remark, but you have to let the optimizer
    do its thing before you judge.

    --
    Lew
    Lew, Jun 22, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gina Engli
    Replies:
    0
    Views:
    278
    Gina Engli
    Jun 22, 2012
  2. Stefan Ram
    Replies:
    0
    Views:
    270
    Stefan Ram
    Jun 22, 2012
  3. Gina Engli
    Replies:
    10
    Views:
    459
    Borg Queen
    Jun 23, 2012
  4. Roedy Green
    Replies:
    0
    Views:
    293
    Roedy Green
    Jun 22, 2012
  5. Stefan Ram
    Replies:
    0
    Views:
    274
    Stefan Ram
    Jun 22, 2012
Loading...

Share This Page