All Manuals > LispWorks Delivery User Guide > 14 Efficiency considerations when coding for delivery

NextPrevUpTopContentsIndex

14.3 General strategy for reducing the image size

In many cases, the size of the image can be reduced if part of the user code or data is eliminated, for example, when this code or data is present only for debugging purposes. The system, however, cannot tell which part of the code or data can be eliminated, so you have to do it yourself.

That can be done in either of two ways:

  1. You can eliminate the code or data explicitly before calling deliver, by using fmakunbound, makunbound, remhash and so on. The advantage of this approach is that it does not require you to know anything about Delivery. The disadvantage of this is that these calls must be put explicitly in the delivery script.
  2. The LispWorks image contains an action list called "Delivery actions", which you can add actions to. For details of how to use this, see Interface to the Delivery Process.
  3. See the LispWorks User Guide and Reference Manual for information about action lists in general.


LispWorks Delivery User Guide - 10 Aug 2017

NextPrevUpTopContentsIndex