dcv icon indicating copy to clipboard operation
dcv copied to clipboard

Code clean and optimization: remove std.range

Open 9il opened this issue 9 years ago • 0 comments

I have reviewed a set of files. We still have std.range and std.array are used frequently. The reasons to remove them:

  1. Less template bloat with iota - iotaSlice uses size_t only and it is faster
  2. Many usage cases can be improved with ndslice primitives.

ndslice does not require std.range and incorporates its funcitonality. Maybe few cases with std.array can be still useful. But most of them are used for slice allocation

9il avatar Nov 12 '16 15:11 9il