FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » query: how many use PHP for linux scripts
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: query: how many use PHP for linux scripts [message #185964 is a reply to message #185955] Thu, 15 May 2014 16:13 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 05/15/2014 07:52 AM, The Natural Philosopher wrote:
> On 15/05/14 13:34, Jasen Betts wrote:
>> including files with lines larger than RAM + swap.
>
> THAT is challenge!
>
> Have to use temporary files..
>
>

Whatever for? You need enough "disk" space to contain the input file
and the output file, you need enough memory to contain the two largest
contiguous records and the code to read-2-(swap-2)-write-2. Whether the
swap involves actual data movement or not is a nit, it boils down to a
file-copy 2 lines at a time. (Wouldn't surprise me if the "cp" command
has some option for this kind of thing along with the rest of the
kitchen sink... or is that "tar" that I'm thinking of...)

Unless of course I'm missing something, I'm feeling stupider with each
post about this exercise that I read. <g>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get the POST name of a field in a form that uses a counter
Next Topic: PHP-SOAP/5.4.21 SoapClient terminating POST without waiting for reply, but still complaining "error fetching http headers".
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 08:53:07 GMT 2024

Total time taken to generate the page: 0.05061 seconds