Skip to content

Commit

Permalink
Added comment about Row class performance.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Katliar committed Dec 7, 2024
1 parent 86b1607 commit 560a57e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/blast/math/views/Row.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ namespace blast
* @brief Row view of a matrix
*
* NOTE: this implementation is not optimized!
* It holds a refrerence to the matrix, as well as a raw pointer,
* the row index, and the column index of the first element.
* Instead it could be just a matrix pointer and the length.
* This would reduce the amount of data needed to represent the @a Row object,
* increasig the possibility of storing everything in registers and reducing
* the number of registers needed.
*
* @tparam MT viewed matrix type
*/
Expand Down

0 comments on commit 560a57e

Please sign in to comment.