#lazy-evaluation #duplicates #pointers #counter #limit #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

#785 in Data structures

Download history 88/week @ 2025-01-24 38/week @ 2025-01-31 3/week @ 2025-02-07

71 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