Oct 17, 2018

[HDGEM] It is important to isolate the implementation of the data structure from its interface.

Use explicit calls to subroutines that initialize, search, and modify the data structure, rather than embedding them within the code.

This leads to a much cleaner program, but it also makes it easy to try different implementations to see how they impact performance.

Do not worry about the cost of the procedure call overhead inherent in such an abstraction. If your application is so time-critical that such overhead can impact performance, then it is even more essential that you be able to easily experiment with different implementations of your data structure.

Posted By Blogger to HDGEM at 2/05/2017 03:19:00 PM