Jump to content

Webwalking resource discarding


DCHILLING

Recommended Posts

Hello OSBot community, I'm making my second script, which includes fishing and cooking with banking. I've seen answers to other optimization posts, that web walking accounts for most of the memory usage when running a script. Is this true? If so, does garbage collector discard this resource or do I need some special way of removing it if it is not used? 

Also, does returning higher waiting values in onLoop() function make the script less demanding or just slower?

Link to comment
Share on other sites

1 hour ago, DCHILLING said:

Also, does returning higher waiting values in onLoop() function make the script less demanding or just slower?

It depends a lot on what the onLoop() function does.

if you just have simple logic such as if/else or switch then it is not going to make too much difference

If you have more complex logic, or lots of variable instanciation on each loop then it will be more demanding if it loops quicker

Generally, it is not going to make much difference for most people but it depends how many bots you plan to run and your system specs I guess

 

Dunno about webwalking memory usage though, I don't have any issues with memory usage personally

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...