View Single Post
07-02-10, 09:30 AM   #36
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
Originally Posted by ffcloud2000 View Post
Causes my fps to drop hard when i run it and makes AutoMcRun's memory usage to go through the roof
Would I be correct in assuming the FPS drop is only temporary? I don't see anything obviously wrong with the code.

This kind of performance impact is actually inevitable for any auto-junk selling addon. The API calls involved generate a lot of information (read: memory usage). There's also the effect of all the "sell item" calls which depends on your latency. This is simply the side effect of sending several (dozens?) of server requests.

The only way to get around these is to sell items asynchronously, but that requires a lot of extra code overhead (and if you walk away from the vendor during the process, not everything will be sold).
__________________
[SIGPIC][/SIGPIC]

Last edited by Cogwheel : 07-02-10 at 09:36 AM.
  Reply With Quote