My concern is that the nested for loop here might adversely affect performance and that there would be a faster, more memory-efficient way to perform this operation. Are there any suggestions? Or are there any common libraries out there that perform this function that I've overlooked?
I love a woman who dresses in stainless steel ... and carries tiny ads:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps