On 22/01/2019 09:23, Kris Deugau wrote:

> RW wrote: On Mon, 21 Jan 2019 14:37:38 -0500
> Kris Deugau wrote:
> 
> Rick Cooper wrote: 
> and I am
> wondering if SA has to be restarted after each update of the data
> or does it reread each time the plugin is called 
> Looks like it loads the data into RAM on SA startup/(reload?).

It's loaded from check_start() and stored in PerMsgStatus, so it's run
per scan. 
*digs deeper in SA plugin docs*  So it is.

That's, um...  possibly not great for performance.

The datasets are smaller than I had thought, but repeatedly loading and
parsing ~3K lines of URL plus whatever else is in the recommended source
files is still going to impose a modest speed hit.

-kgd 

Indeed it has a speed impact, not a very smart implementation of it.

-- 
Kind Regards, 

Noel Butler 

                This Email, including any attachments, may contain legally 
privileged
information, therefore remains confidential and subject to copyright
protected under international law. You may not disseminate, discuss, or
reveal, any part, to anyone, without the authors express written
authority to do so. If you are not the intended recipient, please notify
the sender then delete all copies of this message including attachments,
immediately. Confidentiality, copyright, and legal privilege are not
waived or lost by reason of the mistaken delivery of this message. Only
PDF [1] and ODF [2] documents accepted, please do not send proprietary
formatted documents 

 

Links:
------
[1] http://www.adobe.com/
[2] http://en.wikipedia.org/wiki/OpenDocument

Reply via email to