benpoole.com

“It is a very sad thing that nowadays there is so little useless information.”

Comment - RE: Best practice (Part 3: workflow & stored forms)

Comment by Ben Poole on 17 Sep 2003 ():

Nick -

Nah, I'm just a tart. smiley wink

LS manages memory pretty well by itself as you rightly point out. I do tend to recycle some objects though, especially when I'm dealing with code that loops through, and sends, NotesDocument objects. I find that things can sometimes get messy, especially as the collections being looped increase in size. Recycling seems to help, and also assists with debugging: it has been known, believe it or not, for me to make some dumb-arse mistake that means variables and items from one mail document are carried over into a new one in my loop. Recycling obviously puts that nonsense to rest.

As with all these things though, your mileage may vary. Mabye I should look into this stuff a bit more...

Anyway, thanks for the kind words, and keep tuning in!

PS Thomas Gumz has expanded on this a little today, over at the LDD:

link


» In response to Best practice (Part 3: workflow & stored forms)

   Best practice (Part 3: workflow & stored forms) (Ben Poole 07 Nov 2002)
   RE: Best practice (Part 3: workflow & stored forms) (Tamajit Sarkar 12 Sep 2003)
   RE: Best practice (Part 3: workflow & stored forms) (Ben Poole 12 Sep 2003)
   RE: Best practice (Part 3: workflow & stored forms) (Nick 17 Sep 2003)
   RE: Best practice (Part 3: workflow & stored forms) (Ben Poole 17 Sep 2003)

Add a comment...