opendbc/can
Dean Lee 8faada0494
refactor CANParser to improve performance (#795)
* reduce the const of copying signal values in CANParser::query_latest

* pass by reference

* use for range loop

* update_strings

* use assign

* track all signals

* use iterator & pointer to avoid copy SignalValue from vector

* use normal dict for vl_all

* update tests

* fix error in merge master

* change thresholds

reduce thresholds

* Trigger CI

* Trigger CI

* Trigger CI

* cleanup ctor

* reduce threshold

* revert changes to test_parser.py

* change thresholds

* remove update_string() from cython

* comment out test_performance_one_signal

* reduce thresholds

* test

* update

* update

* revert that for now

* update

* update

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-04-22 17:54:36 -07:00
..
tests refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00
SConscript libdbc: build both static and shared library (#786) 2023-03-27 16:01:39 -07:00
__init__.py Can migration (#199) 2019-11-22 21:46:33 -08:00
can_define.py two spaces before inline comment 2020-05-31 00:56:04 -07:00
common.cc add cpplint (#773) 2022-12-31 16:49:26 -08:00
common.h refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00
common.pxd refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00
common_dbc.h dbc.cc: put check for duplicate message name behind flag (#800) 2023-03-27 11:48:45 -07:00
dbc.cc DBC parser: assert no duplicate signal names in msg (#821) 2023-04-17 09:59:20 -07:00
packer.cc add cpplint (#773) 2022-12-31 16:49:26 -08:00
packer.py add some type hints (#774) 2023-01-01 17:09:27 -08:00
packer_pyx.pyx teach the packer how to count (#669) 2022-07-21 17:51:49 -07:00
parser.cc refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00
parser.py Fix 222 (#296) 2020-09-10 15:01:34 +02:00
parser_pyx.pyx refactor CANParser to improve performance (#795) 2023-04-22 17:54:36 -07:00