Results 1 to 7 of 7

Thread: Algorithms

  1. #1

    Thread Starter
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Algorithms

    Can you think of any algorithms that are a little bit slow in visual basic but used often?

    I'm trying to get better at code optimization in assembly language and could use ideas on a few things to do.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Algorithms

    Everything is slow in VB, when it is compared to Assembler.

  3. #3

    Thread Starter
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: Algorithms

    Quote Originally Posted by dglienna
    Everything is slow in VB, when it is compared to Assembler.
    lol well... yea.. But I'm refering to things more umm how you say "critical" to an appliaciton.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  4. #4

    Thread Starter
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: Algorithms

    A good example I just thought of would be bitwise operaters. I'm pretty sure vb6 and below doesn't have them. Things like shift left, right, etc That would be something useful eh?
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Algorithms

    Merri has some bit-shifting stuff:

    http://www.vbforums.com/showthread.p...ight=shift+bit

  6. #6
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748

    Re: Algorithms

    Time to trade in your 286 isn't it?

  7. #7

    Thread Starter
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: Algorithms

    Quote Originally Posted by dglienna
    Well that would probably beat a function call anyway. Of course you still have rotate functions but I don't think you would ever need that in vb.

    Time to trade in your 286 isn't it?
    LOL neva!

    On a side note, 486 is the lowest directive I use anymore.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

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