Comparing List Deletion Efficiency


Added on  2019-09-16

1 Pages101 Words329 Views
Problem trying to prove: deleteNode of NumberList is faster than stl list.Hypothesis – I believe NumberList deleteNode is faster than STL erase.Experiment – I have taken three sample data size 20000, 30000 and 50000. I have created both NumberList and STL list with these data sets. After that I have delete all the data in those lists.Results – In all the test cases, delete in NumberList was faster than STL list. See below Conclusion – Yes, my hypothesis was correct, I got results which supports it.
Comparing List Deletion Efficiency_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents