Sunday, February 14, 2016

Week 5 Entry

This week we learned more about the application of linked list.
Last week I convinced my self that linked list is more efficient than normal list, but to be honest I was not 100% sure about how efficient it can be. But in Friday's lecture, the professor showed us the actual run time using the built-in list and linked list and it's incredible to see how much faster the program become; from some exponential run-time(perhaps) drop down to linear run-time, and I can already how can I use it. For example, I wrote a program once that simulates particle effects, and as I add more particles, the frame rate drops rapidly. Now I know about linked list, maybe I can try it on that particle simulator sometimes and I'm sure it will run much faster.

No comments:

Post a Comment