[Python-Dev] Re: Automatic flex interface for Python?

Fredrik Lundh fredrik@pythonware.com
Fri, 23 Aug 2002 09:56:43 +0200


greg wrote:

> > It's an implementation problem.  You find yourself doing a lot of=20
> > string accessing and pasting, creating several new objects per
> > input char.
>=20
> Not necessarily! Plex manages to do it without any
> of that.
>
> The trick is to leave all the characters in the input
> buffer and just *count* how many characters make up
> the next token.

you can do that without even looking at the characters?

</F>