Re: Strings all the way down?

Chris Babcock <[email protected]> Sat, 2 May 2009 11:15:10 -0700
Newsgroups gmane.mail.spam.crm114
Organization Kolonel Panic
Message-ID <[email protected]>
On Sat, 2 May 2009 00:13:28 +0200
paolo <[email protected]> wrote:

> > I was able to establish that it's an EOF issue by using syscall with
> > the <keep> flag to call the mapper program...
> 
> just wondering if you're seeing the quoted i/o size limit - can you
> post a snippet of code where this problem shows up?

The 256k limit explains subsequent behavior as well as the initial
problem...

I was iterating over "syscall <keep>". The problem was finding the right
exit condition. This seems to work consistently for :#:pnm: under 8 MB
(or the -w setting) with allowance made for other variables:

{
syscall <keep> (::)(:in:)(:stat:) /convert control.ps pnm:-/
isolate (:pnm:) /:*:pnm::*:in:/
eval /:@: :#:in:>0 :/
liaf
}
output [test.pnm] /:*:pnm/

Thank you! Now to see if there's any time savings left...

Chris

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc (application/pgp-signature, 489 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJJ/I2uAAoJEASgqNsqZfCH5uAIALGBMx1z2JVnGv0vgW5jZLw3
yN24Q6hW1QmIvzBuhZ/GlM429G3r1R9y1z1gxmMycVVq3JCRG3xi28Cm/inn4xDV
8HSM1+Yq73Y8roVkGWxaYJrBzgSNnm0Lsjfr1BtkxUKl55BLttTepkmKCErunHQm
gUaN9W/RfmS2KPTzPKBCDGKSxFAl3ZlJSZp68Z+Rc7PjAomQ2je5qpJGKQy0AfpS
3ACT3fbAfgrzFKKDcfaOXZabyoXWLqWqQ8uwJOBhgL1yzSb9LrgS0jr5Z6L/1Xny
hadY/iqyh+nm0D9EIarT3VDCRVCVmxUz9NbbX+4V89bGqYSHdt9h9OFSqvXMUcI=
=E6fM
-----END PGP SIGNATURE-----