On May 7, 7:22 pm, Pop User <[EMAIL PROTECTED]> wrote: > Anton Slesarev wrote: > > > But I have some problem with writing performance grep analog. > > I don't think you can ever catch grep. Searching is its only purpose in > life and its very good at it. You may be able to come closer, this > thread relates. > > http://groups.google.com/group/comp.lang.python/browse_thread/thread/... > > This relates to the speed of re. If you don't need regex don't use re. > If you do need re an alternate re library might be useful but you > aren't going to catch grep.
In my last test I dont use re. As I understand the main problem in reading file. -- http://mail.python.org/mailman/listinfo/python-list