Commit 90294ef2 authored by Damien L-G's avatar Damien L-G

Removing RAII's default constructor since it degraded performance of the interpolation evaluation

parent d2b1dc42
......@@ -30,7 +30,8 @@ public:
AllocatorTraits<T>::free(_p);
_p = nullptr;
}
RAII() = default;
// NOTE for some reason defining the default constructor degraded performance
// of eval by 15%
RAII(RAII const &) = delete;
RAII &operator=(RAII &) = delete;
RAII(RAII &&o) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment