Caching variable data

Share:

Description

Caching the data associated with a GDS variable

Usage

1
cache.gdsn(node)

Arguments

node

an object of class gdsn.class, a GDS node

Details

If random access of array-based data is required, it is possible to speed up the access time by caching data in memory. This function tries to force the operating system to cache the data associated with the GDS node, however how to cache data depends on the configure of operating system, including memory size and caching strategy.

If the data has been compressed, caching strategy almost has no effect on random access, since the data has to be decompressed serially.

Value

None.

Author(s)

Xiuwen Zheng

References

http://github.com/zhengxwen/gdsfmt

See Also

read.gdsn

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.