Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!uwvax!vanvleck!uwmcsd1!ig!agate!ucbvax!decwrl!purdue!umd5!uvaarpa!virginia!uvacs!rwl From: rwl@uvacs.CS.VIRGINIA.EDU (Ray Lubinsky) Newsgroups: comp.lang.postscript Subject: Re: string concatenation (efficiency) Keywords: PostScript strings efficiency Message-ID: <2527@uvacs.CS.VIRGINIA.EDU> Date: 11 Jul 88 21:12:41 GMT References: <2564@ihuxy.ATT.COM> <4059@adobe.COM> <2574@ihuxy.ATT.COM> <3372@phri.UUCP> Organization: U.Va. CS in Charlottesville VA Lines: 32 In article <3372@phri.UUCP>, roy@phri.UUCP (Roy Smith) writes: > In article <2574@ihuxy.ATT.COM> nowlin@ihuxy.ATT.COM (Jerry Nowlin) writes: > > How important is efficiency in PostScript? > > A related question which has been nagging at me for a while is how > to decide how to split the computational complexity between the printer and > the PS-generating program. For example, let's say you wanted to draw a > black-filled arrow at a 45-degree angle. One possibility would be to use a > "arrow" routine like the one shown in the PostScript Tutorial (blue book) to > draw an arrow aligned with the coordinate axis and precede it by "45 rotate" > to change the coordinate system. Another possibility would be to compute > the coordinates of the verticies of the arrow in the current corrdinate > system and just do a series of linetos followed by a fill. Well, just to through some fuel on the fire, it takes about 5 to 6 minutes to display a dump of my Sun workstation screen on our LaserWriter Plus -- essentially the time that it takes all those bytes to travel down the 9600 bps serial line. Now, to have the printer turn the image on its side to landscape mode (with "90 rotate") it take 30 minutes! Definitely a place where you'd want to do the rotation on the host computer. . . . . -- | Ray Lubinsky, UUCP: ...!uunet!virginia!uvacs!rwl | | Department of BITNET: rwl8y@virginia | | Computer Science, CSNET: rwl@cs.virginia.edu -OR- | | University of Virginia rwl%uvacs@uvaarpa.virginia.edu |