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/2f564523f476840a/d9476da5d7a9e466

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.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to