On Mon, 13 Dec 2004, Kai-Uwe Behrmann wrote:

Would an transform cache fit in an global memoy space? This using the same memory across applications and save space. Is taking the profile id's of both involved profiles plus creation options sufficent?

Using a memory-mapped file obtains the benefit of shared "global" memory while obtaining the ability to re-use the cache between program invocations. In order for this to work, the transform layout would need to observe certain rules. For example, it would be best to store offsets from the base of the transform rather than storing pointers. That would allow the transform to be loaded at any address. Also, it is best that the transform be able to live in a linear memory region rather than having some parts of it allocated separately from the heap.


Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to