Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

http://ideone.com/vHK8Y why is the macro slower than the function?

OpenStudy (jagatuba):

This is just an educated guess, but I would say that the isort() function goes through more processing steps than your created (lean) insert_sort function. I don't know enough about C to say for certain though.

OpenStudy (anonymous):

try to change the function and let me know then click on here http://www.azillionmonkeys.com/qed/sqroot.html

OpenStudy (rsmith6559):

Depending on the size of your array, the copying of sequence into isort could take some time.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!