Browse Source

Improve comment

gingerBill 3 years ago
parent
commit
0a1ef1e59d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/demo/demo.odin

+ 2 - 1
examples/demo/demo.odin

@@ -2367,7 +2367,8 @@ matrix_type :: proc() {
 	// TECHNICAL INFORMATION: the internal representation of a matrix in Odin is stored
 	// in column-major format
 	// e.g. matrix[2, 3]f32 is internally [3][2]f32 (with different a alignment requirement)
-	// Column-major is used in order to utilize SIMD instructions effectively on modern hardware	
+	// Column-major is used in order to utilize (SIMD) vector instructions effectively on 
+	// modern hardware, if possible.
 	//
 	// Unlike normal arrays, matrices try to maximize alignment to allow for the (SIMD) vectorization
 	// properties whilst keeping zero padding (either between columns or at the end of the type).