From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.devel Subject: Re: Growable arrays? Date: Tue, 12 Jun 2012 15:36:28 +0200 Message-ID: <8E0C96A7-558F-40F4-94F0-A3469E199477@telia.com> References: <87hauku0mb.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339508221 23131 80.91.229.3 (12 Jun 2012 13:37:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2012 13:37:01 +0000 (UTC) Cc: guile-devel@gnu.org To: David Kastrup Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 12 15:37:00 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SeRHH-00061C-6e for guile-devel@m.gmane.org; Tue, 12 Jun 2012 15:36:59 +0200 Original-Received: from localhost ([::1]:59542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRHH-0000f4-3V for guile-devel@m.gmane.org; Tue, 12 Jun 2012 09:36:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRH7-0000eT-O1 for guile-devel@gnu.org; Tue, 12 Jun 2012 09:36:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeRGz-0000z8-6X for guile-devel@gnu.org; Tue, 12 Jun 2012 09:36:49 -0400 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:35387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeRGq-0000tT-8O; Tue, 12 Jun 2012 09:36:32 -0400 Original-Received: from [10.0.1.2] (217.210.127.13) by smtp-out11.han.skanova.net (8.5.133) (authenticated as u26619196) id 4FA80EAF00CB9795; Tue, 12 Jun 2012 15:36:29 +0200 In-Reply-To: <87hauku0mb.fsf@fencepost.gnu.org> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.67.226.200 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14608 Archived-At: On 9 Jun 2012, at 14:32, David Kastrup wrote: > Scheme/Guile vectors are fixed size. Now I have a situation where I > have a basic type lattice with records stored in vectors, and this = type > lattice may be extended dynamically (which typically happens at the > start of a whole file, for potentially multi-file runs). Scheme does > not offer a suitable data structure for that. If only grows at one end, something like C++ std::deque might be = suitable. It has the advantage of not having to invoke copy constructors = when it grows. Hans