Skip to content

Reduce resource pack manifest memory usage - #68

Merged
ABKQPO merged 1 commit into
masterfrom
opti-cache
Sep 3, 2026
Merged

Reduce resource pack manifest memory usage#68
ABKQPO merged 1 commit into
masterfrom
opti-cache

Conversation

@ABKQPO

@ABKQPO ABKQPO commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Reduce guidenh resourcepack manifest memory usage and avoid retaining zip entry metadata

  • Store only normalized pack path, size, and modification time for zip packs
  • Stop enumerating and retaining zip internal entries
  • Limit directory pack scanning to GuideNH content and lang files
  • Remove File object lists from ScanCache
  • Preserve content checksums for directory pack guidenh files and language files to support same size hot reload changes

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy

@ABKQPO
ABKQPO merged commit 8642450 into master Sep 3, 2026
1 check passed
@ABKQPO
ABKQPO deleted the opti-cache branch September 3, 2026 17:58
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.

1 participant