Boost C++ Libraries: Ticket #3739: Generalizing identity_property_map for arbitrary types https://svn.boost.org/trac10/ticket/3739 <p> On Tue, 8 Dec 2009, Belcourt, Kenneth wrote: </p> <p> Hi, </p> <p> I've found the property map library to be very useful and would like to propose a minor enhancement to permit the identity_property_map to work for arbitrary types. The reason for this is that some computationally intensive algorithms suffer noticeable performance degradation when I convert them to generic algorithms using property maps. Having a typed identity property map that returns, for example, the double passed into it significantly speeds up our algorithms, at least for those fields that are not mutable. </p> <p> I've attached a patch, and could supply a motivating example, if anyone is interested. </p> <p> -- Noel </p> <p> I don't see a patch attached to your email. Could you please file a feature request on Trac for property_map? Thank you. </p> <p> -- Jeremiah Willcock <span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline"></span><span class="underline">_ Unsubscribe &amp; other changes: <a class="ext-link" href="http://lists.boost.org/mailman/listinfo.cgi/boost"><span class="icon">​</span>http://lists.boost.org/mailman/listinfo.cgi/boost</a> </span></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3739 Trac 1.4.3 Noel Belcourt Tue, 08 Dec 2009 23:55:31 GMT attachment set https://svn.boost.org/trac10/ticket/3739 https://svn.boost.org/trac10/ticket/3739 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">property_map.hpp.diff</span> </li> </ul> Ticket Jeremiah Willcock Wed, 09 Dec 2009 03:45:44 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3739#comment:1 https://svn.boost.org/trac10/ticket/3739#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/58246" title="Applied patch from #3739; fixes #3739">[58246]</a>) Applied patch from <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3739" title="#3739: Feature Requests: Generalizing identity_property_map for arbitrary types (closed: fixed)">#3739</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3739" title="#3739: Feature Requests: Generalizing identity_property_map for arbitrary types (closed: fixed)">#3739</a> </p> Ticket