February 5, 2017

[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
Post a Comment

Featured Post

Payara Server – Robust, Reliable, Supported

Payara Server is an open source application server derived from GlassFish, with an option of 24/7 Production and Migration & Project Sup...