Skip to content

Commit

Permalink
add docs note
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Jan 8, 2023
1 parent f76631c commit 8797821
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/snoop_pc.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,9 @@ intended calls from inside the `@precompile_all_calls` block (see [`@snoopi_deep
code that you want precompiled.
You can use `@snoopi_deep` to check for any (re)inference when you use the code in your package.
To fix any specific problems, you can combine `@precompile_all_calls` with manual `precompile` directives.

One can disable precompilation for selected packages using the `Preferences.jl` based mechanism and the `skip_precompile` key:
```julia
using SnoopPrecompile, Preferences
set_preferences!(SnoopPrecompile, "skip_precompile" => ["Some_Package_To_Skip_Precompilation"])
```

0 comments on commit 8797821

Please sign in to comment.