Python Mmap: Improved File I/O with Memory Mapping – Real Python

In this tutorial, you’ll learn how to use Python’s mmap module to improve your code’s performance when you’re working with files. You’ll get a quick overview of the different types of memory before diving into how and why memory mapping with mmap can make… Read more

Similar

Mocking Redis and Expiration in Python

Recently, I had to use Redis for the first time. I heard of it, but never really played with it. But this time I had no choice, and I don’t regret it at all, Redis is awesome. But having a new component means that I had to discover from scratch how to tes... (more…)

Read more »

Adopt Python 3

Python 3.6.0 came out day before yesterday, and it was like a Christmas present for many of us. But in the midst of all the celebration…...

Read more »