Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2437

Re: Non-caching by execform, which re-executes PaintProc every time

From Martin Leese <please@see.Web.for.e-mail.INVALID>
Newsgroups comp.lang.postscript
Subject Re: Non-caching by execform, which re-executes PaintProc every time
Date 2016-03-02 11:02 -0700
Organization A noiseless patient Spider
Message-ID <nb79m8$kbb$1@dont-email.me> (permalink)
References <90e022fa-590c-4248-b58d-fd3cc02dd22f@googlegroups.com>

Show all headers | View raw


jdaw1 wrote:
> My PostScript forms (in my 12k-line program) are being executed every time: execform isn't caching the results. But a simple toy program works fine. Please, what might be causing execform to fail to cache, and how can purported causes be tested? 

 From the PostScript Landuage reference Manual:
"The form’s definition does not refer to
  variable information in virtual memory, and
  its execution has no side effects in VM."

I have never used a form, but your use of the
variable /FormNum seems to break this rule.
Test this by dumping /FormNum.

-- 
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-02 03:47 -0800
  Re: Non-caching by execform, which re-executes PaintProc every time Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-03-02 11:02 -0700
    Re: Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-02 15:24 -0800
      Re: Non-caching by execform, which re-executes PaintProc every time Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-03-03 10:28 -0700
        Re: Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-03 15:15 -0800
          Re: Non-caching by execform, which re-executes PaintProc every time Chris Liddell <news@shadesoft.net> - 2016-03-08 07:46 +0000
            Re: Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-09 05:25 -0800
              Re: Non-caching by execform, which re-executes PaintProc every time Chris Liddell <news@shadesoft.net> - 2016-03-10 08:59 +0000
        Re: Non-caching by execform, which re-executes PaintProc every time sjprouty3765@gmail.com - 2016-03-11 13:02 -0800
          Re: Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-11 14:06 -0800
            Re: Non-caching by execform, which re-executes PaintProc every time jdaw1 <jdawiseman@gmail.com> - 2016-03-12 03:43 -0800

csiph-web