Results 1 to 4 of 4

Thread: Get, Put VS. Fso VS. Api

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715

    Lightbulb

    Can anybody tell me what the speed differeneces are? Is the fso faster then get, put? And faster then API's? And how much faster?

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    I can't tell you how much faster, but when working with a lot of files, the API (and get/put for that matter), leave the filesystemobject in the dust. Also, if you are developing a program for distribution, the API or Get/Put are more desireable, because they lack the hassle of including one more runtime file.

  3. #3
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    Auckland, NZ
    Posts
    411

    Another reply from someone who doesn't know

    I also do not know, but I would like to point out that API would usually be faster than other means.

    The reason for Objects like FSO is not to make runtime faster. The goal of OO programming is to make code more logical, easier to maintain and more readable for another programmer.

    And since we are using VB and the like instead of Assembler, I guess ease of development is important to us.

    So my advice is to use API if runtime speed is essential, but use Objects VB provides when future maintenance is essential.

    I guess you would use API if you were doing alot of reading/writing to disk.

    Cheers
    Paul Lewis

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Thanks for the replies. I will use the API's in my program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width