[Top][All Lists]

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

Re: are double cells safe to use?

From: Roland Orre
Subject: Re: are double cells safe to use?
Date: Tue, 29 Oct 2013 11:45:14 +0100

Sorry, double cells are even encouraged to use according the manual under
"Allocating cells"  (I had missed that)
and no specific cares as long as they contain only SCM.

On Tue, Oct 29, 2013 at 11:15 AM, Roland Orre <address@hidden> wrote:
> I consider using double cells for efficient implementation of binary trees.
> Is this safe? (i.e. no pre-assumptions made somewhere what these are used for)
> For prototyping I intended to add
> double-cons
> set-cbr!
> set-ccr!
> cbr
> ccr
> to the scheme level. Is this safe?
> They will only contain or refer to SCM data types.
> Of course I could add an own datatype, but as double cells contains
> exactly what I need and they are used internally I consider them being
> the obvious choice.
> I wrote to both user and devel as I consider this may be more of a
> devel question.

reply via email to

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