You are here: Re: Fastest way to jump to line number n when parsing a text file « PHP « IT news, forums, messages
Re: Fastest way to jump to line number n when parsing a text file

Posted by Justin Koivisto on 12/29/05 23:59

enterthe@walla.com wrote:
>
> I understand that there are many ways to jump directly to a line when
> parsing a text file. However, I don't know which is the fastest.
>
> I am parsing files over 100 megs in size, with tens of thousands of
> lines. Getting to some lines is causing my scripts to time out due to
> the time it's taking to get to certain lines.

What that amount of data, don't you think it's time to move into a
database instead?

--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация