Does pp create a new cache for each program it compiles?

-----Original Message-----
From: Alan Stewart [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 10:16 PM
To: Jesse Schoch; [EMAIL PROTECTED]
Subject: Re: caching


On 22 Feb 2004 at 21:06, Jesse Schoch wrote:

> I'm unclear on how the caching works.  I seem to have tons and tons of
> cache-xxxxxxx files in my temp dir.  exactly what is the process for
> determining if the cache is used 2 times?  FYI i never actualy execute
> anything by hand in the same envirinment, I'm guessing that it has to do
> with some environmental variable (havn't looked at the source yet), is
there
> a way to have par search the temp dir for a matching cache dir each time
it
> is executed in a new %ENV?
>
> -jess
>

It's based on a digest of the contents of the executable file. Any given
executable
will always use the same cache. If you re-compile it with different code, it
will
generate a different cache. Even pp itself will generate a cache. No harm in
deleting
them, or you can:
    set PAR_CLEAN=1
or eventually
    set PAR_GLOBAL_CLEAN=1
while you are testing a lot of code changes, so they don't accumulate.


Alan Stewart



Reply via email to