Skip to content

refactor: use ark_fbs#82

Merged
StarHeartHunt merged 12 commits intomainfrom
refactor/use-ark-fbs
Mar 12, 2026
Merged

refactor: use ark_fbs#82
StarHeartHunt merged 12 commits intomainfrom
refactor/use-ark-fbs

Conversation

@StarHeartHunt
Copy link
Copy Markdown
Member

  • Introduced a caching mechanism for flatbuffer schemas to improve performance.
  • Removed temporary directory usage for flatbuffer data processing, simplifying the decoding process.
  • Enhanced error handling during flatbuffer decoding to provide clearer runtime exceptions.

- Introduced a caching mechanism for flatbuffer schemas to improve performance.
- Removed temporary directory usage for flatbuffer data processing, simplifying the decoding process.
- Enhanced error handling during flatbuffer decoding to provide clearer runtime exceptions.
@StarHeartHunt StarHeartHunt marked this pull request as draft March 12, 2026 06:24
- Bumped ark-fbs version from 0.1.2 to 0.1.3.
- Updated source and sdist URLs to reflect the new version.
- Adjusted wheel URLs and hashes for the new release.
@StarHeartHunt StarHeartHunt marked this pull request as ready for review March 12, 2026 07:29
- Changed base image in Dockerfile from python:3.12 to python:3.13 across all stages.
- Updated target version in pyproject.toml from "py312" to "py313".
- Modified README to reflect the new Python version requirement.
- Deleted flatc binaries for Linux, Windows, and macOS from the repository.
- Updated AGENTS.md and README.md to reflect the removal of flatc and its associated paths.
- Removed flatc path configuration from the codebase.
- Eliminated flatc path configuration from the codebase and documentation.
- Updated the Client class to utilize ark-fbs for flatbuffer schema handling, improving performance and error handling.
- Simplified the load_idx method by removing temporary directory usage and directly decoding flatbuffer data.
- Replaced global resource_manifest_schema with a dedicated function to create the schema, enhancing clarity and maintainability.
- Updated the gamedata task to utilize the new FBSchema type from ark-fbs, improving type consistency across the codebase.
- Simplified flatbuffer schema retrieval by caching schemas in a dictionary, optimizing performance during data processing.
- Bumped ark-fbs version from 0.1.3 to 0.1.4.
- Updated source and sdist URLs to reflect the new version.
- Adjusted wheel URLs and hashes for the new release.
- Simplified flatbuffer schema initialization in client.py and gamedata.py by directly using FBOptions().
- Bumped ark-fbs version from 0.1.4 to 0.1.5.
- Updated source and sdist URLs to reflect the new version.
- Adjusted wheel URLs and hashes for the new release.
@StarHeartHunt StarHeartHunt merged commit 7ff0c50 into main Mar 12, 2026
6 checks passed
@StarHeartHunt StarHeartHunt deleted the refactor/use-ark-fbs branch March 12, 2026 16:22
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