On 10/7/10 01:10 , Christian Catchpole wrote:
I have been pondering the issues around slice Iterators. Does each
person maintain their own iterator which selects from their pre-agreed
portions of pizza? Do we all schedule through a single iterator? Is
slice size selection pre-calculated or done at scarf-time? How does
one handle a ConcurrentScarfModification? All these issues are even
further complicated by half and half pizzas, anchovy modes and DCCTs
(discreet crust cosine transformations).
Iterators are important for eating a pizza, as well as concurrency
patterns. For instance, when I participated at the unofficial
competition of the fastest pizza eater (we sometimes held it in the
labs), I used to fold the pizza in half, then quarters and then octants,
and then bite it. This achieved a parallelism of 8. OTOH, when the pizza
is hot, a spiraling iterator is appropriate, starting first from the
borders that usually cool first and then moving progressively closer to
the center.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
--
You received this message because you are subscribed to the Google Groups "The Java
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/javaposse?hl=en.