Niklas Hambüchen
Niklas Hambüchen
Another drawback of current `.iterdir()` is that it is uninterruptible, e.g. Ctrl+C during a large `.iterdir()` has no effect. Ctrl+C works well during a proper streaming `os.scandir()`. I do not...
> I am not very fond of fixing it since it is not an optimization (it might change the behaviour a lot) and will effect the backward compatibility here. Adding...
> The old version before [#117728](https://github.com/python/cpython/pull/117728) used `os.listdir` which also eagerly reads the directory Yes. > I guess there's no real good choice here: the current behaviour uses more memory...
@serhiy-storchaka > This is intentional. It should probably be commented somewhere in the code, otherwise it looks like a bug. Your argument about the easy caller mistake in non-refcount based...
I suffer from this issue as well. Here are 2 videos that show the problem, one from 2 years ago and one from today, with 1300 and 2000 tabs respectively....
Also, with the above amount of tabs, if I select 600 tabs and batch-close them, they disappear from the list, but in the tab counter in the top left, the...
I am reasonably sure that tab closing performance gets worse quadratically; having 4x less tabs makes tab closing roughly 16x faster.
> Holy cow, the difference is incredible! I have ~3k tabs and everything happens instantly, whereas in v4 it took seconds of high CPU usage to close a single tab...
@mbnuqw What was the change that made it fast? Also, can I donate outside of Cryptocurrency options? If not, what service would you recommend to auto-convert your current options?
It looks like this was already fixed multiple times in the past: * #967 * https://github.com/alibaba/hooks/pull/2322#issuecomment-1716190344 * This latest comment suggests that `undefined` is possible because `setState(undefined)` is allowed to...