I've been experiencing an issue where clicking on 'dead' comments on HackerNews causes my browser to freeze for about 5-10 seconds, and my CPU fan turns noticeably louder during this time. This happens consistently and I've tested it across multiple browsers with the same result.
For example (assuming it's not a problem peculiar to my machine) you should be able to see this behavior for yourself by going to this link:
https://news.ycombinator.com/item?id=40222213
and trying to expand the comment by "Brian_K_White" by clicking the ”[17 more]” link.
Is anyone else experiencing this issue, or is it just on my end?
My fix happened to made some iterative code recursive. Recursive code plus CPU fan rather suggests a stack overflow, doesn't it... I'll look into it.
Edit: I've reverted the change so you can happily expand your [17 more]. Will see if I can fix better.
Edit 2: should be fixed better now.