On Oct 22, 2010, at 11:46 AM, Konstantin Tokarev wrote:

> I'm thinking more about GUI application like Avogadro (it has similar problem 
> with plugins). 
> About 5 Mb of memory is wasted for unused format plugins while application is 
> running. 
> If debug build is running, replace 5 Mb with 60 Mb.

On modern OS, this memory isn't "wasted." Since these are individual shared 
libraries, the VM infrastructure will offload these as needed.

In any case, I'm not disputing your point, only that when I did a careful 
analysis, it was obvious there were bigger performance issues.

> Also, untrusted code may be accidentally executed if someone added fake 
> plugin into directory

Yes, there are issues here, although as one security auditor indicated -- if 
someone can add a fake plugin into, say /usr/local/lib/openbabel ... which 
should be root-only, then you have much bigger security problems.

So what I mean to say is: yes, we're aware of this issue, tried to find a 
solution for 2.1 (I think) and realized it was a small issue in terms of CPU 
time. If you'd like to consider some solutions for OB-3.0, that would be great, 
although I'd prefer a plain text file to an XML file.

Hope that helps,
-Geoff
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to