Files
allwpilib/epilogue-processor
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
..
2025-11-07 23:09:21 -08:00

epilogue-processor

Epilogue is an Java annotation-based telemetry library designed to provide easier interactions with WPILib's telemetry and logging facilities in robot projects, most notably, NetworkTables and DataLog. Usage docs can be found at https://docs.wpilib.org/en/latest/docs/software/telemetry/robot-telemetry-with-annotations.html. This subproject provides the annotation processor to generate code for publishing/logging data.