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

Conversation

ulysses4ever
Copy link
Collaborator

This is the same as #34, but I edited some docs...

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
@ulysses4ever
Copy link
Collaborator Author

After I merged thesis-update into main, this needs a rebase now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants