samedi 23 avril 2016

Is variable initialization/assignment statement is a single operation or more?

i'm just learning about algorithm's performance analysis

my question :is int i=0; is counted as two operation: assisgment ,intialization .or it's only one compact operation? i'm using asymptotic analysis which uses the no of operation as a an example of how to describe the performance

Aucun commentaire:

Enregistrer un commentaire