CANParser: reduce repeated dictionary creations (#506)
Co-authored-by: Jian Cheng <jian.cheng@mindcruise.ai>
This commit is contained in:
parent
e94bd12bd4
commit
1e655cc6ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue