Let's say I have 200 functions in a C++ program. Every time I call one, how does the program finds the function? Is this a linear search? A binary search?
If a have an if/else if/.../else statment with 200 else if will the program search them one by one? If so how I can improve the performance here?
Aucun commentaire:
Enregistrer un commentaire