Time taken by column major order
start = Instant . now ( ) ; colMajor ( ) ; end = Instant . now ( ) ; System . out . printf ( " Column ▁ major ▁ access ▁ time ▁ : ▁ " + Duration . between ( start , end ) ) ; } }