users@jaxb.java.net

Re: Is unmarshalling from a file the same speed as a ByteArrayInputStream?

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Fri, 9 Jan 2009 23:12:05 +0100

On Fri, Jan 9, 2009 at 7:48 PM, Forsberg, Mike <mike.forsberg_at_amd.com>wrote:

> I've seemed to have run across some interesting behavior in some code
> that I've inherited…
>
> [snip]

> Could someone inform me why the elapsed time of the two methods is so
> similar?
>
I'd blame file caching.
-W