-
Notifications
You must be signed in to change notification settings - Fork 36
subtypes is extremely slow #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The reason I ran into this is that Documenter uses |
Maybe it would make sense to allow the user to push certain functions (or whole modules) into that list as a short term solution until something like #204 improves performance. That way you could e.g. say that you don't care about what's going on in Base and only interpret user side code. The obvious downside is that higher order functions would be super intransparent, but maybe that's worth it. |
That's already possible: help?> JuliaInterpreter.compiled_methods
meth ∈ compiled_methods indicates that meth should be run using Compiled rather than recursed into via the interpreter. But perhaps we should push both methods of |
julia> @time @interpret f()
15.458208 seconds (129.43 M allocations: 4.091 GiB, 2.23% gc time)
3-element Array{Any,1}:
Bool
Signed
Unsigned now (of course with removing the Still kinda slow but managed to claw back an 80x improvement |
I don't feel there is anything particularly slow with this specific function here anymore. |
The text was updated successfully, but these errors were encountered: