Feature to show precompiled functions in current REPL session

Hi all,

Does someone know whether there is a way to show what functions are already precompiled in the current REPL session?

I think such function could be useful to create

  1. a REPL instance manager (htop for Julia)
  2. in conjunction with PackageCompiler
  3. Along the lines of other inspectability tools like bitstring, @which, @edit and the like.

If someone can show me a direction to look I might try my hand at implementing something similar. Is PackageCompiler.jl a good place to start looking?


This gets all the inferred instances:

using MethodAnalysis

It’s a tiny bit more laborious (see the MethodAnalysis docs), but you can scan for CodeInstances if you want compiled code.

1 Like