8000 Temporally Global Variable follow tree structure by Cupelt · Pull Request #646 · TriggerReactor/TriggerReactor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Temporally Global Variable follow tree structure #646

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

Merged
merged 3 commits into from
Aug 18, 2024

Conversation

Cupelt
Copy link
Member
@Cupelt Cupelt commented Apr 25, 2024

Whyrano...


Download the jar for this pull request: TriggerReactor-646.zip

@github-actions github-actions bot added the package:core Related to share domain nor script interpreter label Apr 25, 2024
@Cupelt
Copy link
Member Author
Cupelt commented Apr 26, 2024

I think make more good, but im not sure

@wysohn
Copy link
Member
wysohn commented Apr 28, 2024

I think make more good, but im not sure

your proposal looks good to me though. Maybe except for creating a new map, but it's probably because I didn't understand what was the purpose of it.

Anyhow, I think the use of TemporaryGlobalVariableKey itself is kind of flawed, so we might want to look into the direction of refactoring it

Perhaps it's better to have different implementations for each: one for the actual global variable, and one for the temp global variable.

I think the code is becoming ugly and hard to change because I tried to put temp gvar and gvar into the same implementation, which was a pretty bad idea :/ They sound quite similar, but I think they deserve to be their own class, to be honest, instead of trying to put them into one

@Cupelt Cupelt changed the title Temporally Global Variable Tree Deletion Temporally Global Variable follow tree structure Apr 28, 2024
@Cupelt Cupelt marked this pull request as ready for review May 30, 2024 03:30
@Cupelt Cupelt requested a review from a team as a code owner May 30, 2024 03:30
@wysohn wysohn added the build-pr-jar Enables a workflow to build jars on the pull request. label Jun 27, 2024
Copy link
Member
@wysohn wysohn left a comment

Choose a reason for hiding this comment

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

Thank you! Looking really good :)

So my only concern is that it seems to use String operations, which could stack up to cause some performance issue

BUT if it's working, let's merge it first and look into the performance later. Maybe users wouldn't really complain anyway

And sorry for taking forever to review. Let me know if you would like to be the maintainer yourself by any chance

@Cupelt Cupelt merged commit e8561fb into development Aug 18, 2024
19 checks passed
@Cupelt Cupelt deleted the tempVar-tree-delete branch August 18, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-pr-jar Enables a workflow to build jars on the pull request. package:bukkit package:core Related to share domain nor script interpreter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0