Strassen's multiplication algorithm for n bits numbers (2way split vs 3way split) -


there version of strassen's algorithm integer multiplication uses three-way split (division of n-bit number 3 parts of n/3 bits) , takes o(n^1.46).

my question why method not preferred usual 1 2 way split uses o(n^1.59)? ideas or links can me understand? (i looked online couldn't find anything)

that because in practise second 1 slower. o notation doesn't correspond real running speed.

example:

f(n) = 1000*n g(n) = n*lg(n) 

o(f(n)) better o(g(n)), making f(n) "faster", while in practise n never large enough prefer f(n).


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -