Files
LibretroAdmin bf06fa747d libretro-common: sync rchd and rflac from RetroArch
Brings in RetroArch's "rchd: allocate nothing per hunk once an image
is open" and "rchd: say how long lent bytes have to live". CHD reads
no longer allocate once the image is open: the staging buffer is
reused, the CD FLAC decoder is kept and rewound, and the hunk cache,
CD sector scratch and FLAC rewind point are allocated at open. A
malloc counter over every sector of CD LZMA, CD FLAC and mixed images
went from 299 allocations during reads to 0.
2026-10-28 20:21:07 +01:00
..