List Info

Thread: patch for php yaz client




patch for php yaz client
user name
2006-03-07 15:19:36
This is not so much as to fix a bug, but to rather add some
performance.
I've added a function called yaz_records, which simply
returns an array of ALL
the results in the result set.
This patch allows you to specify a chunk size, which is how
many records are
requested per results retrieval. I found for my needs
something like 100 is
good. But the whole purpose of the chunk size is to be able
to fiddle with to
allow you to increase performance. It has slightly more than
doubled my
performance.

Comments please. (:

Daine.



--
random signature
_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
patch for php yaz client
user name
2006-03-09 08:30:50
Daine Mamacos wrote:
> This is not so much as to fix a bug, but to rather add
some performance.
> I've added a function called yaz_records, which simply
returns an array of ALL
> the results in the result set.
> This patch allows you to specify a chunk size, which is
how many records are
> requested per results retrieval. I found for my needs
something like 100 is
> good. But the whole purpose of the chunk size is to be
able to fiddle with to
> allow you to increase performance. It has slightly more
than doubled my
> performance.

That's good.
> 
> Comments please. (:

I don't have a problem adding this.. It's of course easy
to put heavy 
load on servers with this.. But it was possible too without
- so I guess 
that argument does not  hold.

Can you make new a patch that does not use // comments.
Older C 
compilers don't support them.

/ Adam


> 
> Daine.
> 
> 
> 
> --
> random signature
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )