b5242d02ac
Checking every data block for errors really slows down dbgbmap.py, which is unfortunate for realtime rendering. To be fair, the real issue is our naive crc32c impl, but the mindset of these scripts is if you want speed you really shouldn't be using Python and should rewrite the script in Rust/C/something (see prettyasserts for example). You _could_ speed things up with a table-based crc32c, but at that point you should probably just find C-bindings for crc32c (maybe optional like inotify?... actually that's not a bad idea...). At least --no-ckmeta/--no-ckdata allow for the previous behavior of not checking for relevant errors for a bit of speed. --- Note that --no-ckmeta currently doesn't really do anything. I toyed with adding a non-fetching Rbyd.fetchtrunk method, but this seems out of scope for these scripts.