News for hackers. Stuff that matters.
Re:In mobile, 62.7% of computation energy cost is spent on d... by Iv on Wednesday November 27, 2019 @08:27AM (#21647608)
I recently realized that mmap was how good editors are able to open huge files without stalling like bad editors do. There are use cases for it but yes, you need to know what you are doing.
Re:In mobile, 62.7% of computation energy cost is spent on d... by jayshua on Wednesday November 27, 2019 @08:33AM (#21647651)
The sublime text/merge team has some interesting discussion about using it that way: https://www.sublimetext.com/blog/articles/use-mmap-with-care
Re:In mobile, 62.7% of computation energy cost is spent on d... by Iv on Wednesday November 27, 2019 @09:36AM (#21648134)
I think it is this very post that made me realize how sharp but also how double-edged of a blade mmap was.