First of all, thank you very much for developing an official API. I haven`t tested the code yet, nor have I made any benchmarks. My comment has the single goal of trying to help the developers to have the best API possible.
Looking around the codebase, I found many untyped global variables. Maybe these variables should be declared as const and used throughout the module. There is a performance tip on the Julia documentation to avoid this pattern https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-untyped-global-variables.
First of all, thank you very much for developing an official API. I haven`t tested the code yet, nor have I made any benchmarks. My comment has the single goal of trying to help the developers to have the best API possible.
Looking around the codebase, I found many untyped global variables. Maybe these variables should be declared as
constand used throughout the module. There is a performance tip on the Julia documentation to avoid this pattern https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-untyped-global-variables.