Paquet : node-functional-red-black-tree (1.0.1+20181105-7)
Liens pour node-functional-red-black-tree
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source node-functional-red-black-tree :
- [node-functional-red-black-tree_1.0.1+20181105-7.dsc]
- [node-functional-red-black-tree_1.0.1+20181105.orig.tar.gz]
- [node-functional-red-black-tree_1.0.1+20181105-7.debian.tar.xz]
Responsables :
- Debian Javascript Maintainers (Page QA, Archive du courrier électronique)
- Jonas Smedegaard (Page QA)
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
fully persistent balanced binary search tree - Node.js library
Functional-red-black-tree is a fully persistent red-black tree written 100% in JavaScript.
Functional (or fully persistent) data structures allow for non-destructive updates. So if you insert an element into the tree, it returns a new tree with the inserted element rather than destructively updating the existing tree in place. Doing this requires using extra memory, and if one were naive it could cost as much as reallocating the entire tree. Instead, this data structure saves some memory by recycling references to previously allocated subtrees. This requires using only O(log(n)) additional memory per update instead of a full O(n) copy.
Some advantages of this is that it is possible to apply insertions and removals to the tree while still iterating over previous versions of the tree. Functional and persistent data structures can also be useful in many geometric algorithms like point location within triangulations or ray queries, and can be used to analyze the history of executing various algorithms. This added power though comes at a cost, since it is generally a bit slower to use a functional data structure than an imperative version. However, if your application needs this behavior then you may consider using this module.
This package provides functional-red-black-tree for use with Node.js - an event-based server-side JavaScript engine.
Autres paquets associés à node-functional-red-black-tree
|
|
|
|
-
- dep: nodejs
- E/S par événement pour le moteur JavaScript V8
Télécharger node-functional-red-black-tree
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 13,8 ko | 57,0 ko | [liste des fichiers] |