#lazy-evaluation #duplicates #pointers #copy-on-write #limit #counter #clone

bin+lib lazy-cow

Copy-on-write pointers with lazy modification support to minimise clones with a cost counter to limit work duplication

1 unstable release

0.1.0 Jan 29, 2025

#756 in Data structures

Download history 121/week @ 2025-01-29 8/week @ 2025-02-05

129 downloads per month

MIT license

14KB
288 lines

Lazy Cow

resting udders

A copy-on-write smart pointer supporting lazy edits with a cost counter to limit lazy work duplication per shared value to ensure good asymptotics.

No runtime deps