Skip to content

Commit c6498b2

Browse files
committed
chore: docs
1 parent 2e36679 commit c6498b2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/user-guide/performance.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ bytes within chunks of an array may improve the compression ratio, depending on
113113
the structure of the data, the compression algorithm used, and which compression
114114
filters (e.g., byte-shuffle) have been applied.
115115

116+
### Subchunk memory layout
117+
118+
The order of chunks **within each shard** can be changed via the `subchunk_write_order` parameter of the `ShardingCodec` using the `SubchunkWriteOrder` enum or a corresponding string.
119+
120+
By default [`morton`](https://en.wikipedia.org/wiki/Z-order_curve) order provides good spatial locality however [`lexicographic` (i.e., row-major)](https://en.wikipedia.org/wiki/Row-_and_column-major_order), for example, may be better suited to "batched" workflows where some form of sequential reading through a fixed number of outer dimensions is desired. The options are `lexicographic`, `morton`, `unordered` (i.e., random), and `colexicographic`.
121+
122+
116123
### Empty chunks
117124

118125
It is possible to configure how Zarr handles the storage of chunks that are "empty"

0 commit comments

Comments
 (0)