kangalio
kangalio
Thanks for the detailed explanation and possible solutions. One thing I noticed that may be interesting: I tried drawing the lines in real time, i.e. call `QApplication.processEvents()` after every 20th...
That's really nice, thank you for the effort. I'm probably going to do some sort of downsampling as a workaround, maybe also look into the PyQtGraph source code a bit...
Thank you for the info. Performance feels unchanged, unfortunately, both on 0.12.3 and on master (bc4d40ae23db435782007ac35fd991e165dc874d). I ran the reproducible code snippet in the first comment.
Oh there seems to be a misunderstanding: I was talking about performance of _navigating_ the plots https://user-images.githubusercontent.com/21220820/141594517-510e65e9-e18b-445e-9b81-0c53c9ec1bc2.mp4 .
I don't think this is a good idea, to be honest. There are many discord servers relevant to Rust that are brought up sometimes, for example The Coding Den or...
Naively splitting by semicolons would break quite quickly, for example when putting semicolons in colons or in strings. A more robust way would be to parse the source code using...
On second thought, I don't know any Discord bot that does this, and users seem to have gotten by fine without this. So, perhaps this is a case of "if...
That's not intentional. An update to the short explanations would be welcome
Pulling this through would also simplify error handling situations like these https://github.com/rust-lang/discord-mods-bot/blob/e4c0bfd6b9c881c667f36d5dc72bb7fdf8fd7ed9/src/crates.rs#L46-L62 Right now, the code handles errors in two different ways simultaneously: some kinds of errors (e.g. network errors)...