Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

iPhone 4s/5? I have 5s, and didn't notice that, but I also mostly use my Android device.

It actually gets ycombinator page, parses DOM and generates JSON that I can use in my app. I think that might be the reason.



It's an iPhone 5s. It only occurs after I've used the app for a while, then switching to an article with a large number of comments; scrolling can become laggy enough to render the app unusable (i.e. scrolling even a small amount takes over a second; lag seems to scale based on the comment count).

I'm guessing that if the DOM is parsed completely prior to rendering the comments, that shouldn't be a bottleneck--unless the parsing step is re-run as scrolling occurs to render comments dynamically.

Or given that a forced restart resolves the issue, perhaps it's a memory issue; i.e. if the JSON data is held in memory for each article viewed, and it continues to grow. This is certainly not a showstopper, and it's a fantastic app! But figured you'd appreciate the info.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: