Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!labrea!csli!evan From: evan@csli.STANFORD.EDU (Evan Kirshenbaum) Newsgroups: comp.lang.postscript Subject: Need data on PS operator speed Message-ID: <5610@csli.STANFORD.EDU> Date: 26 Sep 88 19:34:09 GMT Reply-To: evan@csli.UUCP (Evan Kirshenbaum) Organization: Center for the Study of Language and Information, Stanford U. Lines: 30 I'm in the process of designing a compiler from a more conventional, readable [ok, my opinion :-)] syntax into PostScript. I would like the code generated to be as efficient as possible and so find myself in need of the following data: For any/all of the PostScript engines/interpreters out there, what are the relative speeds of the various operators, specifically: o Stack operators (dup,exch,roll,index,...) (and is there a point at which index and roll degrade due to argument size?) o Array/dictionary creation, reference, updating operators o Control operators (for,loop,if,ifelse) Also, what is the overhead for invoking a procedure? Thanks in advance, and I'll be sure to let y'all know if anything comes of this. --- Evan Kirshenbaum Stanford University evan@csli.Stanford.EDU ...!ucbvax!csli.stanford.edu!evan If you think my opinions represent this university, you haven't been on campus recently! -- Evan Kirshenbaum evan@csli.stanford.edu 627 Woodland Ave (415)328-3863 Menlo Park, CA 94025