Skip to content

Commit 8565aa2

Browse files
committed
doco
1 parent e9cafce commit 8565aa2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,18 @@ Create a persistent array (data saved to disk)::
133133
There is no need to close a persistent array. Data are automatically flushed
134134
to disk.
135135

136+
If you're working with really big arrays, try the 'lazy' option::
137+
138+
>>> path = 'big.zarr'
139+
>>> z = zarr.open(path, shape=(1e8, 1e7), dtype='i4', chunks=(1000, 1000), lazy=True)
140+
>>> z
141+
zarr.ext.SynchronizedLazyPersistentArray((100000000, 10000000), int32, chunks=(1000, 1000))
142+
cname: blosclz; clevel: 5; shuffle: 1 (BYTESHUFFLE)
143+
nbytes: 3.6P; cbytes: 0; initialized: 0/1000000000
144+
mode: a; path: big.zarr
145+
146+
Yes, that is 3.6 petabytes.
147+
136148
Tuning
137149
------
138150

0 commit comments

Comments
 (0)