Jan Rüegg
Jan Rüegg
Thanks, I'll have a look at the log stuff! Meanwhile, I just compiled the latest version (20a06a2782d4b720c3e4faad21c4b15860fbfc00) again. Unfortunately, some issues remaining: - Opening the large log file takes again...
After this fix, everything was working fine in terms of performance: https://github.com/tstack/lnav/commit/b2abf94c2e76972d7089c7d299496d284fe18aa2
Did a quick test, this commit introduced (again) the performance regression: e0ecbdff10129203cd203379550f189739398176
OK, I did some debugging and testing. The following log file will be parsed as a `block_log` and have the performance issues I mentioned: ``` Wed Sep 7 08:58:33 UTC...
So it's not just a timestamp (that was my simplified example). But there's a bunch of "setup" log lines at the beginning without any structured format, and then the actual...
I just think this would be useful when starting to add `mypy` to an existing large code base. As described [here](https://mypy.readthedocs.io/en/stable/running_mypy.html?highlight=silent#following-imports): - When running it with `follow_imports = skip` the...
I don't think so. In #452, the type itself is generic, which is causing issues. In my example, the types of the attributes are fixed and independent of "T", but...
I think we only started seeing this in newer `mypy` version. Could also be a `mypy` issue? Try with [mypy 0.981](https://mypy-lang.blogspot.com/2022/09/mypy-0981-released.html)
Nice analysis! Yes, this looks much better, would be great to see what can be set. Usually, enums are like a choice with a limited set of options, no?
@lebrice or is there a specific use case where we don't want to treat an `Enum` as a `choice`?