Skip to content

GSDumpDialog: Cache length instead of querying every packet#5220

Merged
refractionpcsx2 merged 1 commit intoPCSX2:masterfrom
stenzek:gsdump-length
Dec 28, 2021
Merged

GSDumpDialog: Cache length instead of querying every packet#5220
refractionpcsx2 merged 1 commit intoPCSX2:masterfrom
stenzek:gsdump-length

Conversation

@stenzek
Copy link
Contributor

@stenzek stenzek commented Dec 28, 2021

Length() internally calls fseek() to end, ftell(), and fseek() back again (really slow).

Shaves several seconds off loading large gs dumps.

Length() internally calls fseek() to end, ftell(), and fseek() back
again (really slow).

Shaves several seconds off loading large gs dumps.
@refractionpcsx2 refractionpcsx2 merged commit c192ecf into PCSX2:master Dec 28, 2021
@stenzek stenzek deleted the gsdump-length branch April 15, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants