Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BC0DED3A for ; Tue, 1 Jan 2013 19:49:24 +0000 (UTC) Received: (qmail 12791 invoked by uid 500); 1 Jan 2013 19:49:24 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 12690 invoked by uid 500); 1 Jan 2013 19:49:24 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 12682 invoked by uid 99); 1 Jan 2013 19:49:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2013 19:49:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-ia0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2013 19:49:19 +0000 Received: by mail-ia0-f180.google.com with SMTP id t4so11504755iag.11 for ; Tue, 01 Jan 2013 11:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=TRpdtvQ8RhKP+GfNsf+dJmvZgOBl3xH/nCFfu7rjEWI=; b=C6S7owEEJhY+WnN+7CTRg7QML275QGorGdvY7hbgluN/FQLDrga5ofLf+SFpfXljym 0cugAlqtWjkY7KISSo35P7EFleWuMztbQxvj96cWMPn66BAPqio0qwPGUluic+ue55k6 t9O5p5hWPyOVCUmMDnp/GJH3VGTJTPl5kPU7yej/psCnZrf41iuV0JXsRM6qt655nVap mA9iqOoJ7iYOWVKh5YI+6Sn9WcKfJ0f50Tka2SP7kpNjPjWr+jrGahigQHQbnFIUdXNu oJMT7ixW/8FO8CkTyVPSVHmaEDDuP0PANhWvQM3YZAJ7nL4rHI06lH/RMJKiB4Utc54M ju3Q== Received: by 10.42.82.136 with SMTP id d8mr33899876icl.31.1357069738576; Tue, 01 Jan 2013 11:48:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.133.137 with HTTP; Tue, 1 Jan 2013 11:48:28 -0800 (PST) In-Reply-To: References: <50E1CB9D.4090001@gmail.com> <20130101010754.GH20126@dusk.harfang.homelinux.org> From: Ted Dunning Date: Tue, 1 Jan 2013 11:48:28 -0800 Message-ID: Subject: Re: [math] [linear] immutability To: Commons Developers List Content-Type: multipart/alternative; boundary=90e6ba6140dab40b5604d23f6bd8 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6140dab40b5604d23f6bd8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jan 1, 2013 at 11:17 AM, S=C3=A9bastien Brisard < sebastien.brisard@m4x.org> 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 woul= d > 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. --90e6ba6140dab40b5604d23f6bd8--