View Single Post
Old 01-23-2006, 01:55 PM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,695
redhead is on a distinguished road
I could come up with a number of solutions written in C, which would be less file i/o intensive, than having a shell script splitting up a file.
Given that file i/o most likely will be the bottleneck here, you might considder a solution where the splitting of the file/spawning of threads, might be done in a different manner, at a slightly higher memory cost.

Now if you're working on a embeded system, where memory is sparse, then that might lead to a solution like this, but for any other implementation, I would turn to other solution patterns.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote