Skip to content

Conversation

@HEIHUAa
Copy link

@HEIHUAa HEIHUAa commented Dec 13, 2025

Optimized some code — may improve runtime speed and reduce GC pressure. Also fixed a previously unspecified syntax issue. These are just some minor tweaks I made casually over the past few weeks.

@HEIHUAa
Copy link
Author

HEIHUAa commented Jan 8, 2026

Essentially, there are some performance optimizations, though they aren't noticeably perceptible in practical testing.

There is also a minor breaking change:

When resumeErrors = true ( resumeErrors should be disabled by default):

Before the change: f(1, 2, 3; 4) would be parsed as f(1, 2, 3), and the ; 4 would be treated as subsequent code.

After the change: f(1, 2, 3; 4) is parsed as f(1, 2, 3, 4).

No change occurs when resumeErrors = false.

Additionally, support for implements has been added.
It is now possible to write:

class C extends A implements B {
}
Currently, only a single implements is supported.

@Jamextreme140
Copy link
Collaborator

fair enough :3

@Jamextreme140 Jamextreme140 merged commit 1033e2f into CodenameCrew:codename-dev Jan 8, 2026
@HEIHUAa HEIHUAa deleted the optimize branch January 8, 2026 21:12
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