← Back to team overview

yade-dev team mailing list archive

shared_ptr<PhysicalAction>

 

Hi there, any reason PhysicalActionContainer contains shared_ptr's?
Wouldn't it be better to contain just array of PhysicalActions? It would
allow for very fast resetting with
memset(action[0],0,sizeof(thisAction)) and perhaps would save some
shared_ptr overhead we have currently. V.



Follow ups