Re: [Libbt-devel] role of libevent
Brought to you by:
ksmathers
From: Peter S. <stu...@cd...> - 2005-02-10 15:45:31
|
On Thu, Feb 10, 2005 at 12:32:45PM +0100, Alien wrote: > > Perhaps make it a compile-time option? > > if we have it without and we can choose to go with and without it, > well, we might as well drop it totally. Only reason to use it is the increased performance. > > > I'm curious what Alien means by the "removal of event". > > > > Replacing it with libbt-local async IO, probably using select() > > directly. > > yup I like this because it's pretty portable and requires no extra libraries. I can certainly live with select() in libbt as for performance, I think it will be good enough. But, on the other hand, if someone wants to pull libevent in, let them use it and reap the benefits. Maybe we should do some real-world testing and see if the performance is an issue? I really doubt it across the internet, but it's probably noticable on a private network. On Thu, Feb 10, 2005 at 12:33:29PM +0100, Alien wrote: > > Does not include Windows though... > > i couldn't care less about that Yes and no. If possible with little effort I like to support Windows too. But I wont write that code anytime soon though. ;) //Peter |