guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about data structures


From: Dr. Arne Babenhauserheide
Subject: Re: Question about data structures
Date: Mon, 23 Nov 2020 13:24:35 +0100
User-agent: mu4e 1.4.13; emacs 27.1

Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:

> How do you approach this problem? Is it a problem at all?

I would use a deque: a double ended queue. Cheap push and pop at end and
beginning.

https://srfi.schemers.org/srfi-134/srfi-134.html

I created a guile-implementation for that:
https://github.com/scheme-requests-for-implementation/srfi-134/tree/master/contrib/arne-babenhauserheide

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]