Well, but how far down do you imagine passing these shared_ptr-s? All the way to all the data packets Write/Read functions? Then I think it could be a noticable overhead (I'm not sure, I don't know enough about these packets to know how many there'll be normally). -- https://code.launchpad.net/~csirkeee/widelands/memory-leaks-2/+merge/150290 Your team Widelands Developers is requested to review the proposed merge of lp:~csirkeee/widelands/memory-leaks-2 into lp:widelands.
_______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp