🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
773
stars
120
forks
source link
Optimized ( Rect/Frect ) unionall()/unionall_ip() #2784
Closed
itzpr3d4t0r closed 1 month ago
This change is comprised of two changes:
Makes the function 80% faster on average (with rect lists or tuples) from my testing.![image](https://github.com/pygame-community/pygame-ce/assets/103119829/b5795ef8-b494-4a90-b1cf-fdb94c655c5f)
Test program:
data_utils file: