proxy.golang.org : github.com/perdata/lazy
Package lazy implements a lazy collection. Slice and Splice simply defer the operation. ForEach iterates through all the sub-slices and provides a way to reconstruct the new array. This effectively prevents a lot of intermediate memory allocation and copying saving time (possibly at the cost of extra memory). Benchmark results
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/perdata/lazy
Keywords:
collections
, golang
, immutable
, lazy
, persistent
License: MIT
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/perdata
Stars: 4 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago