[dokuwiki] Re: Performance issues

  • From: Yann <yann.hamon@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 17 Mar 2006 19:09:01 +0100

On 3/17/06, Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:
>
> On Thu, 16 Mar 2006 14:10:40 +0100
> Yann <yann.hamon@xxxxxxxxx> wrote:
>
> > MMmmh. I don't think this is really possible in this function... The
> > best we could do would be read only the lines we need for the
> > dichotomic search, but that would be at least half of the file...
>
> Well I guess we could work with some binary access (I'm not sure it is
> called this way - you know: get a chunk from the middle of the file and
> get the timestamp, then from there access the middle of the part in the
> right direction again... until you get the line you want)...



Oh you mean the fseek() thing? True, it could work. I'll give it a try.

Other related posts: