Skip to content

PackFileContainer improvement and load time improvements#331

Merged
donkeyProgramming merged 8 commits intomasterfrom
UpdateingPackFileService
Apr 20, 2026
Merged

PackFileContainer improvement and load time improvements#331
donkeyProgramming merged 8 commits intomasterfrom
UpdateingPackFileService

Conversation

@donkeyProgramming
Copy link
Copy Markdown
Owner

PR Classification

API and design refactor to improve abstraction, performance, and testability of pack file container management.

PR Summary

Introduces the IPackFileContainer interface, adds a cache-optimized read-only container for CA pack files, and implements a binary cache system to accelerate CA pack loading. Updates all code and tests to use the new abstractions and adds comprehensive unit tests.

  • PackFileContainer.cs, CachedPackFileContainer.cs: Implement IPackFileContainer and add a read-only, cacheable container.
  • PackFileService.cs: Refactored to operate on IPackFileContainer, supporting both mutable and read-only containers.
  • PackFileContainerCacheHelper.cs: Implements binary cache serialization/deserialization for CA pack containers.
  • PackFileContainerLoader.cs: Uses the cache for CA pack loading, with fallback and cache update logic.
  • Extensive unit tests added for new abstractions and cache logic.

@donkeyProgramming donkeyProgramming merged commit de6b4df into master Apr 20, 2026
1 check passed
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