In Postscript, does loading a dictionary to run a procedure have the same overhead as doing a lookup of the procedure name in the dict?
/myDict<< /myProc { (Hello world) = } >>def myDict begin %A myProc %A end %A myDict /myProc get exec %B Given the above Postscript code, which (not surprisingly) produces the following output using ghostscript (GPL Ghostscript 9.55.0 (2021-09-27) on Linux): Hello world Hello world The %A lines pushes the whole dictionary and any state it […]