powered by
This calls madvise() on the segment mapping when available.
madvise()
segment_advise( seg, advice = c("normal", "sequential", "random", "willneed", "dontneed") )
A logical scalar; TRUE if the OS accepted the hint.
TRUE
A shard_segment.
One of "normal", "sequential", "random", "willneed", "dontneed".
# \donttest{ seg <- segment_create(1024) segment_advise(seg, "sequential") # }
Run the code above in your browser using DataLab