Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23052
| From | markspace <markspace@nospam.nospam> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: email stop words |
| Date | 2013-03-21 16:49 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <kig67g$jqu$1@dont-email.me> (permalink) |
| References | <kidh9f$57s$1@dont-email.me> <kidrti$hgn$1@dont-email.me> <kifr01$ip2$1@dont-email.me> |
On 3/21/2013 1:38 PM, Joshua Cranmer đ§ wrote: > > The JVM is optimizing autoboxed integers? That occurred to me, but since I know nothing about how the JVM might do that, I didn't speculate. > Looking briefly at the code > for OpenJDK, there is definitely optimizations for autoboxing that do > things like "if foo is from the Integer cache, turn foo.value into > address_of_foo - address_of_IntegerCache" > Interesting. I mostly just increment Integers by one. If the addresses of pre-allocated Integers (<127) are all stored sequentially, then that's equivalent to adding a constant offset to each address, about the same overhead as just adding 1. Hmmm, that's 100% speculation, but a cool optimization if they do it that way.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
email stop words markspace <markspace@nospam.nospam> - 2013-03-20 16:40 -0700
Re: email stop words Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:13 -0400
Re: email stop words Lew <lewbloch@gmail.com> - 2013-03-20 17:21 -0700
Re: email stop words Arne VajhĂžj <arne@vajhoej.dk> - 2013-03-20 20:41 -0400
Re: email stop words markspace <markspace@nospam.nospam> - 2013-03-20 17:21 -0700
Re: email stop words lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-03-21 09:31 +0000
Re: email stop words Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-20 20:51 -0500
Re: email stop words markspace <markspace@nospam.nospam> - 2013-03-20 19:41 -0700
Re: email stop words Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2013-03-21 08:29 +0200
Re: email stop words Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-03-21 09:24 -0400
Re: email stop words markspace <markspace@nospam.nospam> - 2013-03-21 09:33 -0700
Re: email stop words Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-03-21 14:15 -0400
Re: email stop words Joerg Meier <joergmmeier@arcor.de> - 2013-03-21 14:29 +0100
Re: email stop words Joshua Cranmer đ§ <Pidgeot18@verizon.invalid> - 2013-03-21 15:38 -0500
Re: email stop words markspace <markspace@nospam.nospam> - 2013-03-21 16:49 -0700
Re: email stop words Fredrik Jonson <fredrik@jonson.org> - 2013-03-21 06:58 +0000
csiph-web