Y
Hacker News
new
|
ask
|
show
|
jobs
by
chaos_vy
83 days ago
It uses sealed classes, JDK21 SequencedSet and SequencedMap implementation, Math.clamp(), and get benifit from modern JIT optimization.
1 comments
MiroslavPokorny
83 days ago
That not much to jump all the way to jdk21.
Math.clamp is literally 2 / 3 lines.
link
chaos_vy
83 days ago
The Tree Supports JEP431(Sequenced Collection) and my whole node structure is based on pattern match and sealed classes.
link
Math.clamp is literally 2 / 3 lines.