Skip to content

Commit 456ea21

Browse files
committed
update readme
1 parent 519d9e6 commit 456ea21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,17 @@ let version2 = original.clone().append(4); // Both versions share data
105105

106106
## Implementation Details
107107

108-
The `Chunk<A>` type is implemented as an enum with three variants:
108+
The `Chunk<A>` type is implemented as an enum with four variants:
109109

110110
- `Empty`: Represents an empty chunk
111111
- `Append`: Represents a single element appended to another chunk
112112
- `Concat`: Represents the concatenation of two chunks
113+
- `TransformFlatten`: Represents a lazy transformation and flattening of elements
113114

114115
The data structure achieves its performance characteristics through:
115116

116117
- Structural sharing using `Rc`
117-
- Lazy evaluation of concatenation
118+
- Lazy evaluation of concatenation and transformations
118119
- Immutable operations that preserve previous versions
119120

120121
## Contributing

0 commit comments

Comments
 (0)