Linux/perl mmap performance

后端 未结 9 1973
面向向阳花
面向向阳花 2021-02-14 10:46

I\'m trying to optimize handling of large datasets using mmap. A dataset is in the gigabyte range. The idea was to mmap the whole file into memory, allowing multiple processes t

9条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-14 11:40

    If you have a relatively recent version of Perl, you shouldn't be using Sys::Mmap. You should be using PerlIO's mmap layer.

    Can you post the code you are using?

提交回复
热议问题