Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #9570
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: particle container in Java |
| Date | 2011-11-05 06:42 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <c0eab71ffcvagl7p5ov7t4m7hbai4rl47v@4ax.com> (permalink) |
| References | <17fed3e9-15e0-466c-bb24-10e74633ea1b@t8g2000yql.googlegroups.com> <hlb5b7pfb0kanf6knl8l813gjr8m4q6ckt@4ax.com> <j8uutg$dhb$1@news.albasani.net> <89r8b7964oa0l75o7cvgh06r53l3f4t96d@4ax.com> <j92868$df4$1@news.albasani.net> |
On Fri, 04 Nov 2011 19:48:12 -0700, BGB <cr88192@hotmail.com> wrote, quoted or indirectly quoted someone who said : >so, like a chain-hash?... there is no hashing in the sense that HashMap does. In hanging moss, you select the grid cell by dividing x and y by the x and y grid resolution giving two ints to index into an array of chains. It is a similar concept to a HashMap. HashMap categories elements of its big set into subcategories that it can linearly seach. I do the same thing, except instead of hashing, I divide to home in on the subcategory. It has the same problem as your oct-tree in that you need a bounding box to start. I have added some comments to the entry at http://mindprod.com/jgloss/hangingmoss.html -- Roedy Green Canadian Mind Products http://mindprod.com Capitalism has spurred the competition that makes CPUs faster and faster each year, but the focus on money makes software manufacturers do some peculiar things like deliberately leaving bugs and deficiencies in the software so they can soak the customers for upgrades later. Whether software is easy to use, or never loses data, when the company has a near monopoly, is almost irrelevant to profits, and therefore ignored. The manufacturer focuses on cheap gimicks like dancing paper clips to dazzle naive first-time buyers. The needs of existing experienced users are almost irrelevant. I see software rental as the best remedy.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
particle container in Java bob <bob@coolgroups.com> - 2011-11-03 01:05 -0700
Re: particle container in Java Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-11-03 08:33 +0000
Re: particle container in Java Roedy Green <see_website@mindprod.com.invalid> - 2011-11-03 08:12 -0700
Re: particle container in Java BGB <cr88192@hotmail.com> - 2011-11-03 13:51 -0700
Re: particle container in Java Roedy Green <see_website@mindprod.com.invalid> - 2011-11-04 15:54 -0700
Re: particle container in Java BGB <cr88192@hotmail.com> - 2011-11-04 19:48 -0700
Re: particle container in Java Roedy Green <see_website@mindprod.com.invalid> - 2011-11-05 06:42 -0700
Re: particle container in Java Giovanni Azua <bravegag@hotmail.com> - 2011-11-03 23:38 +0100
Re: particle container in Java BGB <cr88192@hotmail.com> - 2011-11-03 22:41 -0700
Re: particle container in Java Roedy Green <see_website@mindprod.com.invalid> - 2011-11-05 06:49 -0700
Re: particle container in Java BGB <cr88192@hotmail.com> - 2011-11-05 09:16 -0700
Re: particle container in Java Roedy Green <see_website@mindprod.com.invalid> - 2011-11-06 03:07 -0800
Re: particle container in Java Giovanni Azua <bravegag@hotmail.com> - 2011-11-06 15:15 +0100
Re: particle container in Java BGB <cr88192@hotmail.com> - 2011-11-06 11:06 -0700
Re: particle container in Java Arne Vajhøj <arne@vajhoej.dk> - 2011-11-03 19:03 -0400
csiph-web