Just to clarify something:

On Wed, Jun 15, 2011 at 12:21 PM, Fabrizio Giudici <
[email protected]> wrote:

> While I understand the performance improvements because of no more locks


Immutability doesn't always bring performance improvements. Actually,
immutable structures and algorithms that use them tend to have poorer
performances than mutable ones in single threaded situations.

Immutable structures *may* provide a boost in performances in parallel
scenarios, but it's certainly not a foregone conclusion.

-- 
Cédric

-- 
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.

Reply via email to