Author | Message | Time |
---|---|---|
phvckmeh | This is based on what i know P-Code Pros: Smaller EXE Files, Less memory usage Optimized code Pros: Faster code? Cons: More memory usage (so its accutally slower) I dont know which do use... | October 10, 2004, 12:46 AM |
UserLoser. | [quote="forum.valhallalegends.com"] Battle.net Bot Development [/quote] [quote="You"] A post un-related to Battle.net Bot Development [/quote] | October 10, 2004, 12:59 AM |
phvckmeh | [quote author=UserLoser link=topic=9073.msg83797#msg83797 date=1097369977] [quote="forum.valhallalegends.com"] Battle.net Bot Development [/quote] [quote="You"] A post un-related to Battle.net Bot Development [/quote] [/quote] Yeah im compiling my bot, and i wonder which would be better | October 10, 2004, 1:12 AM |
BaDDBLooD | Wouldn't that depend if it was Ops, Chat, Annoying Flood/Mass Bot? | October 10, 2004, 1:23 AM |
Yoni | Don't use P-Code; that's all there is to it. | October 10, 2004, 1:28 AM |
phvckmeh | [quote author=Yoni link=topic=9073.msg83800#msg83800 date=1097371734] Don't use P-Code; that's all there is to it. [/quote] Any reasons why? It seems to be faster+more stable when i use it, also half the exe size and half the ram usage..... | October 10, 2004, 1:34 AM |
Tuberload | The whole point of pcode is to shrink the executable size. The fact that VB requires a few megs in dependencies kind of makes that a waste IMO. | October 10, 2004, 1:48 AM |
BaDDBLooD | [quote author=Tuberload link=topic=9073.msg83804#msg83804 date=1097372938] The whole point of pcode is to shrink the executable size. The fact that VB requires a few megs in dependencies kind of makes that a waste IMO. [/quote] Atleast it makes all the dumb people think your app is small ^_^ | October 10, 2004, 2:09 AM |
OnlyMeat | [quote author=phvckmeh link=topic=9073.msg83794#msg83794 date=1097369164] This is based on what i know P-Code Pros: Smaller EXE Files, Less memory usage Optimized code Pros: Faster code? Cons: More memory usage (so its accutally slower) I dont know which do use... [/quote] P-Code = pseudo code = interpreted at runtime = slower than native code. It's as simple as that. | October 10, 2004, 2:15 AM |
phvckmeh | Well personaly the p-code has been running better, i get faster startup times, and it uses about 4 megs less ram... | October 10, 2004, 3:44 AM |
Puzzle | Why would your bot use more than 4 to begin with? | October 10, 2004, 10:00 AM |
Grok | There are times you will want to use p-code. VB sometimes gets weird errors (application exceptions) on otherwise harmless-looking lines of code when it is compiled to machine code. If you recompile it to p-code, those errors go away. So the machine code compiler for VB is not perfect. I write enough code that I see this condition once every 3-4 months. | October 10, 2004, 2:33 PM |
phvckmeh | [quote author=Puzzle link=topic=9073.msg83839#msg83839 date=1097402402] Why would your bot use more than 4 to begin with? [/quote] :) it went from 6.3megs to 2.4 | October 10, 2004, 3:40 PM |