<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bin packing part 5: Set-based iteration</title><link>http://sqlblog.com/blogs/hugo_kornelis/archive/2011/10/18/bin-packing-part-5-set-based-iteration.aspx</link><description>One of the most common techniques authors use to keep their readers interested is to leave them with a cliff-hanger. It’s what I did when I finished part 4 of my series on the bin packing problem – never intending to leave you all hanging over a cliff</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Bin packing part 5: Set-based iteration</title><link>http://sqlblog.com/blogs/hugo_kornelis/archive/2011/10/18/bin-packing-part-5-set-based-iteration.aspx#44444</link><pubDate>Thu, 26 Jul 2012 00:39:36 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:44444</guid><dc:creator>Dwain.C</dc:creator><description>&lt;p&gt;Mr. Kornelis,&lt;/p&gt;
&lt;p&gt;Recently someone pointed me to this series of articles and I was fascinated by the problem. &amp;nbsp;After reading the first few articles, I decided to take a shot at a solution myself.&lt;/p&gt;
&lt;p&gt;I've been able to create a set-based iteration method that uses a different algorithm than yours and generates 94% utilization in about 7.5 seconds over the data you provided.&lt;/p&gt;
&lt;p&gt;My next step will be to download your solution, benchmark it on my equipment against my solution and to see if there's a way to create a hybrid that runs even faster.&lt;/p&gt;
&lt;p&gt;If you would be interested in corresponding with me on this (I would), I'm a regular poster on sqlservercentral.com under Dwain.C, or you can visit my guest columnist page here: &lt;a rel="nofollow" target="_new" href="http://www.sqlservercentral.com/Authors/Articles/Dwain_Camps/1444841/"&gt;http://www.sqlservercentral.com/Authors/Articles/Dwain_Camps/1444841/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope to chat soon.&lt;/p&gt;
</description></item></channel></rss>