Skip to content

[FEATURE] The using keyword #196

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 1 commit into
base: develop
Choose a base branch
from

Conversation

KoloInDaCrib
Copy link

Requires pr FunkinCrew/hscript#7 to be merged as well

there's gotta be an easier way to do this, right?

{
for (n => data in _proxy._c.usings)
{
var fields = Type.getClassFields(data.cls);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we cache the fields?
im not sure how expensive Type.getClassFields

Copy link
Author

@KoloInDaCrib KoloInDaCrib Mar 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't noticed any impacts on performance or used memory during my tests with using StringTools;

(re-wrote the comment because the previous one started a review for some reason)

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.

2 participants