CANParser: reduce repeated dictionary creations (#506)

Co-authored-by: Jian Cheng <jian.cheng@mindcruise.ai>
This commit is contained in:
Jacob 2022-01-25 07:46:00 +08:00 committed by GitHub
parent e94bd12bd4
commit 1e655cc6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,4 +189,4 @@ cdef class CANDefine():
dv[address][sgname] = dict(zip(values, defs))
dv[msgname][sgname] = dv[address][sgname]
self.dv = dict(dv)
self.dv = dict(dv)