Questions tagged [mmap]

For code that uses memory-mapped files.

Filter by
Sorted by
Tagged with
4 votes
1 answer

Simple parallel compression using Run-length Encoding in C

I encountered the concurrency-zip project in OSTEP By Remzi Arpaci-Dusseau. So basically, I've built a simple compression program that uses Run-length Encoding, and multi-threading in C. But I couldn'...
user avatar
11 votes
2 answers

C - Fast & simple bump allocator

I recently have been very interested in custom allocators, so I decided to make the very basic (this should be faster than malloc) bump allocator. Here is my code ...
user avatar
  • 289
3 votes
1 answer

Code dealing with files and separate lines in them

I have been using similar piece of code since a while. I have read some issues regarding treating mapped memory as a string. I am not sure about that though, so I just use ...
user avatar