opendbc
opendbc copied to clipboard
Memoize parsed DBC files (openpilot car-interface speedup 1/2)
summary
- cache parsed DBC files in
opendbc.can.dbc.DBCso each worker reads a given DBC only once
testing
- python -m pytest --durations=20 selfdrive/car/tests/test_car_interfaces.py # run from openpilot with the updated submodule
Validation
- Dongle ID: N/A (test-only change)
- Route: N/A