Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rco8786
· 12mo ago · 0 comments
This is super interesting. Is it possible to turn the runtime checks off in certain environments? I would love to have these type checks just happen during unit tests, for example, and then no-op in production so that performance is unimpacted.
Comments
[–]
novadore
12mo ago
Yes, there's config "config.type_checking = false" to turn type checking off per environment