Skip to content

Optimize script type lookup - #30

Open
bobmoser76 wants to merge 1 commit into
themuffinator:mainfrom
bobmoser76:optimize-script-type-lookup
Open

bobmoser76 wants to merge 1 commit into
themuffinator:mainfrom
bobmoser76:optimize-script-type-lookup

Conversation

@bobmoser76

Copy link
Copy Markdown

Summary:

  • maintain a hash index for allocated script type names
  • replace repeated linear type searches with hashed lookup
  • rebuild or clear the index alongside program restart and teardown
  • keep compiler filenames in stable storage while includes update the filename cache

Validation:

  • fresh Meson debug build with the native Linux platform backend
  • client, dedicated server, and unified game module linked successfully
  • git diff --check

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