Files
allwpilib/ntcore
Jonah Snider 7ff32d7756 [epilogue,ntcore,wpiunits] Use pattern matching switch expressions where possible (#8925)
Use [pattern matching switch
expressions](https://docs.oracle.com/en/java/javase/17/language/pattern-matching-switch.html)
where possible. This is a JVM 21+ feature which wasn't available until
recently.

If you look at the Java bytecode, this improves performance from an O(n)
runtime check of literally each of the `if (x instanceof y)` checks to
instead be an O(1) tableswitch.

---------

Signed-off-by: Jonah Snider <jonah@jonahsnider.com>
2026-05-27 18:06:15 -07:00
..
2026-03-13 23:05:55 -07:00
2025-11-07 23:09:21 -08:00

ntcore

ntcore is a library for using NetworkTables. To learn more about what NetworkTables is, read https://docs.wpilib.org/en/latest/docs/software/networktables/networktables-intro.html.

If you're a developer looking for the NetworkTables protocol specifications, take a look at the doc folder.