1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to speed things up (google api script)

Discussion in 'Google API' started by mirdin, Jul 26, 2004.

  1. #1
    I just created a little script that does 10+ queries when I run it, but it takes quite a few seconds to finish.

    Is there a way to speed this up perhaps?
     
    mirdin, Jul 26, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You could thread your queries... Start 10 queries at once, then get the ten results. Of course it's a little more complex because you need to keep track of your threads then, but that would be the only way to speed it up.
     
    digitalpoint, Jul 26, 2004 IP