[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binary Search Tree and Treap Functions bst-assq and treap-put
From: |
Stefan Monnier |
Subject: |
Re: Binary Search Tree and Treap Functions bst-assq and treap-put |
Date: |
Sun, 04 Dec 2016 12:04:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> That's too bad (I mean, its good for performance, but unfortunate one of
> the use cases doesn't exist). However, the treap functions may still be of
> general use. Let me know if there is any interest. They are documented
> and tested. They fill a gap between alists (persistent, linear lookup) and
> hash tables (ephemeral, constant lookup) by being persistent while
> providing average case logarithmic lookup.
Is it written in C or Elisp? If it's Elisp, then we definitely would
welcome it into GNU ELPA (there is already an avl-tree implementation in
Emacs itself at lisp/emacs-lisp/avl-tree.el, but the more the merrier).
If it's written C, I'll let others decide whether we want to include it.
Stefan
- Binary Search Tree and Treap Functions bst-assq and treap-put, Andy Sonnenburg, 2016/12/03
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, Stefan Monnier, 2016/12/03
- Message not available
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, John Wiegley, 2016/12/12
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, Stefan Monnier, 2016/12/12
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, John Wiegley, 2016/12/12
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, Stefan Monnier, 2016/12/12
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, John Wiegley, 2016/12/12
- Re: Binary Search Tree and Treap Functions bst-assq and treap-put, Stefan Monnier, 2016/12/12