Skip to content

rbx_binary: Reuse Descriptors #542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

krakow10
Copy link
Contributor

@krakow10 krakow10 commented May 29, 2025

This moves the construction logic for PropertyDescriptors into a constructor from a known ClassDescriptor and PropertyDescriptor, and then reuses as many descriptor references as possible to avoid repeated class & property database lookups. I was also hoping for a small performance win here but it seems modest to negligable. I believe it will be easiest to review the first commit moving a block of code 8de96a4 by itself, and then the rest which are taking advantage of the isolated construction logic together krakow10/rbx-dom@8de96a4...pr4.

  • Note d85a799 (assume migration is always to a property on the same class) which may or may not be a sound assumption.

@krakow10 krakow10 changed the title Reuse Descriptors rbx_binary: Reuse Descriptors May 29, 2025
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