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

@debug causing type instability and performance hit #18

Closed
mohamed82008 opened this issue Feb 22, 2019 · 2 comments
Closed

@debug causing type instability and performance hit #18

mohamed82008 opened this issue Feb 22, 2019 · 2 comments

Comments

@mohamed82008
Copy link
Member

It seems the @debug statements when expanded are causing a type instability and performance hit. ref: #17

@trappmartin
Copy link
Member

Interesting finding. We might have this issue in Turings HMC too.

@mohamed82008
Copy link
Member Author

Yes, I am thinking of using a constant global debug flag for this that can be set by setting an environment variable ENV["DEBUG_TURING"] = 1 or "DEBUG_BIJECTORS".

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

No branches or pull requests

2 participants