Skip to content
TILens What matters today in tech v0.3.0
Theme

Topic - Edition

Python

3 items on 03 Aug 2026
Python

Python: how time-machine is O(1) where freezegun is O(n)

A benchmark shows Python’s time-machine library stays O(1) when mocking time, while freezegun scales O(n) with the number of loaded module attributes and becomes dramatically slower as projects grow. The difference…

Source: Python Hub Digest