Robert F Harwood commented on Jan 13, 2012

Re: NotesSession sample JavaScript code for XPages

checked

Robert Perron commented on Mar 2, 2011

Re: NotesSession sample JavaScript code for XPages

This is my take:

- allocate memory for doc

- allocate memory for tmpdoc

- recycle doc

- point doc at same memory as tmpdoc

(iterate)

- allocate new memory for tmpdoc

- recycle doc which is pointing at the old tmpdoc memory

But I put in a query to the back-end guys and will update if this is not accurate or there is more info.

JP Shelley commented on Feb 11, 2011

Re: NotesSession sample JavaScript code for XPages - evaluate

In "evaluate" could you possibly explain why you recycle "doc" but not "tmpdoc", please?

Thanks. Jerry.