directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: BaseThreadPool question
Date Tue, 18 Oct 2005 08:05:30 GMT
2005/10/18, daune.jf@daune-consult.com <daune.jf@daune-consult.com>:
>
> Trustin,
>
> I have some questions for you:
>
> - Is there a reason to use a Queue instead of (the less restrictive) List?


We need a pop() operation. That's all for now. :)

- If so, is there a reason to use a custom Queue instead of those from Java?


First, java.util.Queue appeared in JDK 1.5. We support JDK 1.4 or above.

And the queues provided by JDK is less effecient than our circular queue
implementation. There's no circular queue implementation in JDK 1.5 yet.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message