On 4/27/2017 10:24 AM, Noel O'Boyle wrote:

> ... we don't want
> to trade off too much speed for the common case (e.g. by allocating
> everything on the heap), but it's good to keep an eye on it.

I very much doubt the speed difference for the common case will be 
noticeable to the user, or even if it is: unacceptable. At the end of 
the day stack and heap both live in physical RAM and there's a finite 
amount of that so there's always a hard limit. The practical difference 
between "string blah[HUGE_NUM];" and "vector<string> blah;" is that the 
first form will crash on startup while the second one will crash sometimes.

Dima


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to