Based on much appreciated feedback from my earlier posts, here is my latest version. This one is more compact and expressive, and the Duplicates function scales roughly linearly so I don't think that any performance has been sacrificed for expressive
Read More...