Skip to content
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

Reworked function discovery #2 #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Nov 29, 2023

  1. Reworked function discovery

    This helps detect external method definitions. We now look for functions
    in the given module, as well as all of user-provided extra modules, and
    then filter all methods of all the discovered functions by whether they
    come from the module of interest.
    
    A good option is to pass `Base.loaded_modules_array()` as the extra
    modules argument, as this will return a vector of all the modules loaded
    currently in the julia session. This includes Base, Core, the module of
    interest, and all of its transitive dependencies. Any extra modules that
    also happen to be loaded are processed too, but this doesn't seem to
    affect performace much.
    
    Document the new `extra_modules` feature
    JanJecmen authored and ulysses4ever committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    43411d6 View commit details
    Browse the repository at this point in the history