samedi 28 novembre 2015

Stress test - Insert a large number of strings to a list

How could one do a 'stress test' of a linked list class that involves the insertion of a large number (thousands) of strings?

(The equivalent of a function that inserts a large number of integers by means of a for loop of incrementing values, if the linked list were to store integer values (i.e. for(i = 0; i < 5000; i++) LL.insert(i)).

Aucun commentaire:

Enregistrer un commentaire