`deepcopy` from cache instead of recreating parsers for `GardenSnakeCompiler`
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 5 Oct 2020 22:21:33 +0000 (15:21 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 5 Oct 2020 22:21:33 +0000 (15:21 -0700)
commit34ec75959ba7ff187045b17468d803b795d77dd8
tree7c0bed10d0419d8a2eb1c313e3bc8a179c0451f7
parent0c8ffbb3d8580f04c21d6b522d8d1d5e670cb6f3
`deepcopy` from cache instead of recreating parsers for `GardenSnakeCompiler`

changes `make develop` time from about 1m30s to 1m09s for me
src/soc/decoder/power_decoder.py
src/soc/decoder/power_fields.py
src/soc/decoder/power_fieldsn.py
src/soc/decoder/pseudo/parser.py