Files
ardour/libs/pbd
David Robillard b63a9fd4ca Use shared_ptr::unique() instead of shared_ptr::use_count() == 1.
use_count() can be slow (not constant time) depending on underlying implementation.
Similar situation to std::list::size() == 0 an std::list::empty(), the former
does a big traversal/computation only to check if the very first step went.
I think the current boost implementation is just a reference count anyway, but
hey.  In theory.


git-svn-id: svn://localhost/ardour2/branches/3.0@5996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-01 17:25:38 +00:00
..
2009-04-30 16:47:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-04-18 16:15:12 +00:00
2009-02-25 18:26:51 +00:00
2009-10-27 18:00:45 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00
2009-02-25 18:26:51 +00:00