Open hellemo opened 1 year ago
Alternatively use a parameter for safe/unsafe, to facilitate switch between safe and unsafe. Default to safe to use during development, but be able to easily switch to unsafe for performance in some cases. I guess adding a unsafe option to the normal insertvar! would be non-breaking as long as it defaults to safe.
Little experience with @inbounds, but I think a parameter for safe/unsafe is a good place to start.
Things to test/discuss: