Jump to content

Function cleanup


Recommended Posts

I have an AutoIt program that does a lot of string processing.

I create many, many strings.

So my question is "When does cleanup occur"?

1. When my function exits, do all of the strings I created locally get freed up?

2. Or does that memory get cleaned up only when the program exits?

If it' #1, then I'll leave my code alone. But if it's #2 I may consider cutting down on my string creation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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