persistent

package
v0.0.0-...-ada8b72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Immutable persistent data structures are data structures which can be copied and modified efficiently, leaving the original unchanged. Functional programming languages like Lisp have long relied on using them. This package offers a selection of data structures with similar properties.

Immutable data structures in many cases offer benefits over mutable data structures in terms of concurrent access and functional reasoning. *Persistent* immutable data-structures offer structural sharing, which means that if two data structures are mostly copies of each other, most of the memory they take up will be shared between them. This implies that making copies of an immutable data structure is relatively cheap in terms of space- and time-complexity.

License

Governed by a 3-Clause BSD license. License file may be found in the root folder of this module.

Copyright © 2022 Norbert Pillmayer <norbert@pillmayer.com>

Directories

Path Synopsis
Package btree implements an immutable persistent in-memory version of B-trees.
Package btree implements an immutable persistent in-memory version of B-trees.
Package tree implements an all-purpose tree type.
Package tree implements an all-purpose tree type.
Package vector implements an immutable persistent vector.
Package vector implements an immutable persistent vector.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL