commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <>
Subject Re: [math] [linear] immutability
Date Tue, 01 Jan 2013 19:48:28 GMT
On Tue, Jan 1, 2013 at 11:17 AM, S├ębastien Brisard <> wrote:

> > Please mention that when I first mentioned in-place operations, I didn't
> have speed in mind, but really memory.

> I think we would not gain much speedwise, as Java has become very good at
> allocating objects (this would be true of large problems, where typically a
> few big objects would be allocated at each iteration. The conclusion would
> probably be different with many small objects to be allocated at each
> iteration).

Allocation is not the problem.  The problem is memory bandwidth due to the
copies that are a side effect of the allocation.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message