Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Problem

Name: Anonymous 2009-06-17 7:40

i have a C program that manipulates buffers.
What is the
1)fastest way to copy buffer-to-buffer(except changing pointers)
2)fastest way to write buffer into file.

Name: Anonymous 2009-06-17 7:41

memcpy

hPutStr

Name: Anonymous 2009-06-17 7:45

>>1
the fastest way is to implement a lisp subsystem, then copy and write your buffers within that

Name: Anonymous 2009-06-17 7:46

1) memcpy
2) fwrite
Thread over. Don't think you can write these better than the native optimized versions, you can't.

Name: Anonymous 2009-06-17 8:30

>>1
Use haskell's Foreign Function Interface and compile with GHC.

Name: Anonymous 2009-06-17 9:15

>>1
Use the GHC Haskell Compilers FFI Function Interface

Name: Anonymous 2009-06-17 11:16

>>1
You should write it in assembly it'll be faster than C and guys Haskell is slower than C.

Name: Anonymous 2009-06-17 11:22

>>7
Dons Dons Dons Dons, Dons Dons Dons Dons, Dons Dons Dons Dons

Name: Anonymous 2009-06-17 12:38

>>8
wat

Name: Anonymous 2011-01-31 20:23

<-- check em dubz

Name: Anonymous 2011-02-03 0:18

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List