We need to convert a large Pascal system to Delphi 5. It uses heap structures with thousands of entries extensively that it creates on the fly and then releases. What is the most elegant way to do this in Delphi 5. Do we need to release each instance of each New or come up with some more global approach?
Is there a way to mark and release like the original Turbo Pascal? Do people often create operations like mark and release or do they individually get rid of each instance created by new? The numbers of entries in the system being addressed make this seem unelegant.
What is meant by doing our own caching? What do we do to create these caches? We think we can prevent events from writing into marked memory by not using these types of structures for anyone but the heap writing/reading process. Are we wrong?