Assert_safe alias for: if (std.debug.runtime_safety)

It would first be helpful to understand why you’re doing:

if (std.debug.runtime_safety) assert(g < self.first_rows.len());

Note that there has been a lot written about assert that you might be interested in reading:

6 Likes