Add SubArray class
Compare changes
- Stéphane Del Pino authored
It does not store the underlying Array anymore. - this is quite dangerous but it increases performances by a factor 2+ - all copy constructors have been removed as well to reduce the risk of bad manipulation (ie: using a SubArray on a destroyed Array)
+ 8
− 34
@@ -16,11 +16,8 @@ class [[nodiscard]] SubArray
@@ -47,32 +44,15 @@ class [[nodiscard]] SubArray
@@ -81,16 +61,10 @@ class [[nodiscard]] SubArray