Re: linux persistent c application with http protocol?



for an example i've done it with visual basic net..


Dim i As Integer
Dim a As Integer

For i = 0 To 290

For a = 0 To 30000
test_array(i) += 1
test_array(i) += 2
test_array(i) -= 3
test_array(i) += 1

Next
TextBox3.Text = test_array(i).ToString
TextBox3.Refresh()
Next

....................................................
this means that some operations...
####################
test_array(i) += 1
test_array(i) += 2
test_array(i) -= 3
test_array(i) += 1
####################
on the array... are done 30000*290 times = 8 700 000
in php this means that i have to open (and close) 8 700 000 times a php
script, than store the variables of the array somewhere (file or db),
open it , edit and close it 8 700 000 times..

would you like to know how much seconds take the vbnet program to do
this operation?
1 second! :) than save the array in the db the array, another 2
seconds...

.



Relevant Pages

  • Re: compare values in the same field in consecutive rows--and store the result in an array
    ... found lines would change the array counter to 2. ... this script to store more values, including some from line 102 in the ... Your script works--in part, ... of readers and awk users as it concerns data extraction and processing ...
    (comp.lang.awk)
  • Re: Logon script - function array and select case not working
    ... this all works well, except, the function i am using for the rules in the control script causes alot of querrys to AD. as there are alot of groups. ... objTSout.writeline retrv ... So if you think that this will assign an array value to the variable, how do you think the case select statement is going go compare this array value with the literal string values such as "group name here"? ... However, by not assigning ANY value to checkgrp in the function, you are guaranteeing that, should the function ever exit, it will return no information. ...
    (microsoft.public.scripting.vbscript)
  • Re: string retrieval issue
    ... Chicago Bears|NFC North ... not writing the third element back to the array). ... You didn't include it in your script. ... Fear is the mind-killer. ...
    (comp.lang.perl.misc)
  • Re: even rows for checkbox forms with no splitting of boxes from values
    ... 'mod' on the array length with a denominator equal to the width of the row, ... State saving really depends on what the script is already doing. ... So I usually roll my own checkboxes. ... #this is to create an array with 25-50 strings 2-10 in length ...
    (comp.infosystems.www.authoring.cgi)
  • Re: settimeout needs alert() ???
    ... function slider { ... and use script to replace the src and title attributes. ... are downloaded completely. ... The usual strategy is to load all of the images in to an array of image ...
    (comp.lang.javascript)