Closed demin-dmitriy closed 2 years ago
Operations push_col, pop_col, insert_col are asymptotically less efficient, than they could be. Currently they each run in O(rows * rows * cols) but they could be implemented in O(rows * cols) time.
push_col
pop_col
insert_col
O(rows * rows * cols)
O(rows * cols)
@demin-dmitriy thanks for reporting! I will fix this as soon as I find the time.
Operations
push_col
,pop_col
,insert_col
are asymptotically less efficient, than they could be. Currently they each run inO(rows * rows * cols)
but they could be implemented inO(rows * cols)
time.