| shard_apply_policy | R Documentation |
Centralizes safe defaults and guardrails for apply/lapply convenience wrappers.
shard_apply_policy(
auto_share_min_bytes = "1MB",
max_gather_bytes = "256MB",
cow = c("deny", "audit", "allow"),
profile = c("default", "memory", "speed"),
block_size = "auto",
backing = c("auto", "mmap", "shm")
)
auto_share_min_bytes |
Minimum object size for auto-sharing (default "1MB"). |
max_gather_bytes |
Maximum estimated gathered result bytes before refusing to run (default "256MB"). |
cow |
Copy-on-write policy for borrowed inputs. One of |
profile |
Execution profile passed through to |
block_size |
Shard block size for apply-style workloads. Default |
backing |
Backing type used when auto-sharing ( |
An object of class shard_apply_policy.
cfg <- shard_apply_policy()
cfg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.