Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!usenet.ukfsn.org!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Fav. Memory Stream Impl. Date: Tue, 29 Nov 2011 20:26:19 +0000 (UTC) Organization: UK Free Software Network Lines: 22 Message-ID: References: <4ed0101b$0$282$14726298@news.sunsite.dk> <9jflnkFnrgU1@mid.individual.net> <9jgqmvFjc4U1@mid.individual.net> <6b19df45-6141-45f0-ae2e-8ff30ece4928@y42g2000yqh.googlegroups.com> <9ji3juFomgU1@mid.individual.net> <4ed4bfc0$0$8819$426a74cc@news.free.fr> NNTP-Posting-Host: 84.45.235.129 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: localhost.localdomain 1322598379 14581 84.45.235.129 (29 Nov 2011 20:26:19 GMT) X-Complaints-To: usenet@localhost.localdomain NNTP-Posting-Date: Tue, 29 Nov 2011 20:26:19 +0000 (UTC) User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10333 On Tue, 29 Nov 2011 14:37:48 +0100, Jan Burse wrote: > Mayeul schrieb: >> I spoke of ArrayList just as an example. Whatever the case is, someone >> can probably point out a satisfactory way to address it. It might have >> nothing to do with file virtualization, though. > > Well idea is not to change the original application which uses already > some byte serialization in a fundamental way. But only to replace the > temporary files by memory streams. > As you say the individual file sizes are a few tens of bytes, have you looked at using ByteInputStream and ByteOutputStream? If you have considered them, why are they unsuitable? -- martin@ | Martin Gregorie gregorie. | Essex, UK org |