Kevin-Jin / mmap

Forked from https://r-forge.r-project.org/scm/?group_id=648
1 stars 1 forks source link

Kernel feature usage enhancements #25

Closed Kevin-Jin closed 7 years ago

Kevin-Jin commented 7 years ago

Resolve #19. Resolve #20. Resolve #21. Resolve #22. Resolve #23. Resolve #24. Take advantage of relevant memory management features from the operating system. Capitalize on 64-bit file sizes and array indices (R 3.0.0+ long vectors support 52-bit indices) if supported by the operating system. Implement more madvise(), mprotect(), mmap(), and msync() flags for Win32. Implement non-file-backed anonymous and shared memory mappings to reduce I/O overhead. Implement mlock() and munlock() to forcefully load data into physical memory to improve performance. Enhance integration with the file system's access control mechanism so that users can wrap read-only files with copy-on-write memory maps.