Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    $\begingroup$ Shouldn't you make this more general? $\endgroup$ Commented Apr 11, 2015 at 22:32
  • $\begingroup$ It depends. If it is slow, probably doesn't matter. If it is fast, ok. But atm I'm confused because I'm testing your and rasher's method with result that your is 20x slower than OP's. So as soon as I figure it out I will tell you :P $\endgroup$ Commented Apr 11, 2015 at 22:35
  • $\begingroup$ LOL -- looks like I wrote a function for the wrong shape of data. Okay, +1, and back to the drawing board. $\endgroup$ Commented Apr 11, 2015 at 22:43
  • $\begingroup$ @Mr.Wizard Ok :) I have to go but I will make it more general tomorrow, if it is worth it :). Feel free to delete my non relevant comments when you change something. Good night. :) $\endgroup$ Commented Apr 11, 2015 at 22:46
  • $\begingroup$ Ah, clean. I feel herp-a-derp for not thinking of that... +1 $\endgroup$ Commented Apr 12, 2015 at 1:54