🐍🎮 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
(Freetype) use calloc where possible #2802
Closed
Starbuck5 closed 2 months ago
I was poking around freetype and saw some malloc+memset pairs, which could instead be expressed as a calloc.
This is slightly simpler code to do, and might be faster. *Not that perf really matters for these calls, they are infrequent.