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.
Printable View
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.
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.Quote:
Originally Posted by dglienna
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?
Merri has some bit-shifting stuff:
http://www.vbforums.com/showthread.p...ight=shift+bit
Time to trade in your 286 isn't it?
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.Quote:
Originally Posted by dglienna
LOL neva!Quote:
Time to trade in your 286 isn't it?
On a side note, 486 is the lowest directive I use anymore.