abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Sayre" <say...@gmail.com>
Subject Re: Model api changes
Date Thu, 13 Jul 2006 22:22:00 GMT
On 7/13/06, James M Snell <jasnell@gmail.com> wrote:
> Well aware, however, using list (even unmodifiable ones) in this case
> has a number of unfortunate downsides, not the least of which is causing
> the pull parser to consume the stream before it returns.  We can
> preserve the incremental parse model by using an iterator instead.

I'm glad you're aware, but won't most people just get a dog-slow loop instead?

for (Iterator i = abderaFeed.getEntries(); i.hasNext();) {
  ...slowness...
}

-- 

Robert Sayre

Mime
View raw message