3ff25a4fdf
By default, we don't actually do anything if we find an invalid gcksum, so there's no reason to calculate it everytime. Though this performance improvement may not be very noticeable: dbgbmap.py w/ crc32c lib w/ no_ck --no-ckdata: 0m0.221s dbgbmap.py w/ crc32c lib w/o no_ck --no-ckdata: 0m0.269s dbgbmap.py w/o crc32c lib w/ no_ck --no-ckdata: 0m0.388s dbgbmap.py w/o crc32c lib w/o no_ck --no-ckdata: 0m0.490s dbgbmap.old.py: 0m0.231s Note that there's no point in adopting this in dbgbmapd3.py: 1. svg rendering dominates (probably, I haven't measured this), and 2. we default to showing the littlefs mount string instead of mdir/btree/data percentages.