Open lmiq opened 1 week ago
I think this is due to the type piracy in StyledStrings (cc @tecosaur)
I'd suspect so. To backport as much from the 1.11/StyledStrings behavior as possible, the compat "1.0" release of StyledStrings redefines the generic methods for join
and a few other widely-used/highly-invalidating functions.
Perhaps there's a better compromise to be struck between complete comparability and latency/invalidations? If so, I don't have much of an intuition about where to strike it.
X-refs: https://github.com/JuliaLang/StyledStrings.jl/issues/57, https://github.com/JuliaLang/StyledStrings.jl/issues/61
But why there's a lag after the recompilation apparently finished? Waiting for recompilation is, well, ok, but having an irresponsive REPL is another kind of issue.
Without doing testing + profiling: no idea on my end.
This is the issue:
OhMyREPL
andStyledStrings
OhMyREPL
(using OhMyREPL
).StyledStrings (
using StyledStrings`).Result:
The REPL is returned normally after loading StyledStrings, but becomes irresponsive for some seconds. In my computer, about 10 seconds. In the example below, the multiple julia REPLs shown at the end appear because I typed "enter" multiple times without any response:
The issue does not occur in Julia 1.11.