Hello,
I've been working on some unsafe fast I/O procedures for my own use,
and I thought I'd make them an extension, if more people would
like to use them.
The "fast-io" extension would have these procedures:
Implemented and tested:
- write-fixnum, read-fixnum
- write-flonum, read-flonum
- writ
Jeronimo Pellegrini scripsit:
> - write-fixnum, read-fixnum
> - write-flonum, read-flonum
Does this refer to a textual or a binary format file?
--
John Cowan co...@ccil.org http://ccil.org/~cowan
In computer science, we stand on each other's feet.
--Brian K. Reid
___
On Mon, Apr 05, 2010 at 10:34:03PM -0400, John Cowan wrote:
> Jeronimo Pellegrini scripsit:
>
> > - write-fixnum, read-fixnum
> > - write-flonum, read-flonum
>
> Does this refer to a textual or a binary format file?
Textual. I had no intention of using binary files, although
that could be nice t
On Mon, Apr 5, 2010 at 7:18 PM, Jeronimo Pellegrini wrote:
> Implemented and tested:
> - write-fixnum, read-fixnum
> - write-flonum, read-flonum
For those I have been making good use of the endian-port egg (not
released for chicken 4 yet though); I wonder how the benchmarks would
turn out, but th
On Mon, Apr 05, 2010 at 09:04:47PM -0700, Shawn Rutledge wrote:
> On Mon, Apr 5, 2010 at 7:18 PM, Jeronimo Pellegrini wrote:
> > Implemented and tested:
> > - write-fixnum, read-fixnum
> > - write-flonum, read-flonum
>
> For those I have been making good use of the endian-port egg (not
> released
On Tue, Apr 06, 2010 at 11:24:20AM -0300, Jeronimo Pellegrini wrote:
> Anyway, I've uploaded it here if you'd like to give it a try:
>
> http://aleph0.info/fast-io.tar.gz
I forgot -- whatch out for the file size and time to be spent in
benchmarks! You may want to change the value of +max+ in
benc
Hi Jeronimo
On Mon, 5 Apr 2010 23:18:57 -0300 Jeronimo Pellegrini wrote:
> I've been working on some unsafe fast I/O procedures for my own use,
> and I thought I'd make them an extension, if more people would
> like to use them.
> These are for reading and writing values from/to large files.
>
On Tue, Apr 06, 2010 at 03:41:36PM -0400, Mario Domenech Goulart wrote:
> Hi Jeronimo
Hi Mario!
> I'd suggest naming the egg in a way it doesn't sound as general as
> "faster I/O primitives". Maybe it's just me, but when I read "fast-io",
> I instinctively think that Chicken's I/O primitives a
On Tue, 6 Apr 2010 17:11:25 -0300 Jeronimo Pellegrini wrote:
>> I'd suggest naming the egg in a way it doesn't sound as general as
>> "faster I/O primitives". Maybe it's just me, but when I read "fast-io",
>> I instinctively think that Chicken's I/O primitives are slow and by
>> using fast-io I'
On Tue, Apr 06, 2010 at 05:11:25PM -0300, Jeronimo Pellegrini wrote:
> What would be more appropriate?
>
> "unsafe-io"
> "fast-unsafe-io"
> "unsafe-io-procedures"
> "nonstandard-fst-io"
How about specialized-io or optimized-io? The io routines aren't
general-purpose like the basic Chicken ones,
On Apr 6, 2010, at 15:11, Jeronimo Pellegrini wrote:
> "unsafe-io"
> "fast-unsafe-io"
> "unsafe-io-procedures"
> "nonstandard-fst-io"
ieee-io
;)___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-use
On Tue, Apr 6, 2010 at 7:34 AM, Jeronimo Pellegrini wrote:
> One caveat: fast-io reads and writes exactly as printf/scanf do,
> so the external representation may not be the one used by your
> other Scheme programs!
Oh right, so it's ascii then... not like endian-port at all.
__
On Tue, Apr 06, 2010 at 05:09:59PM -0700, Shawn Rutledge wrote:
> On Tue, Apr 6, 2010 at 7:34 AM, Jeronimo Pellegrini wrote:
> > One caveat: fast-io reads and writes exactly as printf/scanf do,
> > so the external representation may not be the one used by your
> > other Scheme programs!
>
> Oh ri
On Apr 6, 2010, at 9:34 AM, Jeronimo Pellegrini wrote:
BTW, I've benchmarked complex reading ad writing too. I suppose
the difference is huge for reading complexes because the read
procedure doesn't know that it's a complex number.
Hi there. Your numbers looked odd to me so I downloaded
and
Hello!
On Thu, Apr 22, 2010 at 02:25:00PM -0500, Jim Ursetto wrote:
> Here are my numbers:
>
> scheme fast-io line numbers 1.8 2.1
> --
> write fixnum26 2126 26
> read fixnum61 2022
15 matches
Mail list logo