unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* ANN: fectors v0.1
@ 2012-07-08  1:16 Ian Price
  2012-07-08  6:27 ` Marco Maggi
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Price @ 2012-07-08  1:16 UTC (permalink / raw)
  To: guile-user; +Cc: vicare-users


Hi folks,

Just a quick note to mention an implementation of persistent
(i.e. functional) vectors I wrote in celebration of the guile 2.0.6
release. It is written in portable R6RS, and tested on guile.

The code can be found at https://github.com/ijp/fectors

It's a pretty short and simple module, and I hope it proves useful.

I will note, however, that the library is not thread safe. It uses
internal mutation to provide efficient access to the most recently used
version of a fector. If this is a problem for you, or you are frequently
using branches other than the most frequent, I also have an
implementation of functional sequences based on fingertrees in my pfds
library, on the fingertrees branch. See
https://github.com/ijp/pfds/tree/fingertrees

Cheers,

-- 
Ian Price

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-08 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-08  1:16 ANN: fectors v0.1 Ian Price
2012-07-08  6:27 ` Marco Maggi
2012-07-08 10:26   ` Ian Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).