I was just documenting the field container store because I need to use 
it and I noticed a couple of "strange" things.

- It looks like the container store vector grows without bound.  Entries 
in the vector are never reclaimed.  Has this ever been a problem?  If 
so, would it be better to use another type of data structure that allows 
space to be reclaimed  (hash_map with increasing id)?

- The return type deregisterContainer varies depending upon wether we 
are compiled debug or optimized.  (optimized always returns false, debug 
returns true if the value was out of range... very strange).  This 
sounds dangerous to me.

-Allen

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to