John Siracusa
👤 PersonAppearances Over Time
Podcast Appearances
Well, anyway, I set the initializer because it wasn't getting set because I wasn't going through the right in it path elsewhere. And then all of a sudden the view based one was exactly the same as the cell based one. And I was very happy. I celebrated, and I hope I never have to re-implement that view ever again.
Well, anyway, I set the initializer because it wasn't getting set because I wasn't going through the right in it path elsewhere. And then all of a sudden the view based one was exactly the same as the cell based one. And I was very happy. I celebrated, and I hope I never have to re-implement that view ever again.
I threw away the NS cell-based one, reverted to the view-based one, did the two-line fix, and honestly, you can't really tell the difference. Unless you AP test it, it looks exactly the same as it was before. But I know it's ever so slightly better, and that's what matters. And the final thing on this topic, a bunch of people are asking about WebKit performance and scrolling performance. Yeah.
I threw away the NS cell-based one, reverted to the view-based one, did the two-line fix, and honestly, you can't really tell the difference. Unless you AP test it, it looks exactly the same as it was before. But I know it's ever so slightly better, and that's what matters. And the final thing on this topic, a bunch of people are asking about WebKit performance and scrolling performance. Yeah.
And someone pointed me to a blog post about a website where someone wanted to make a web page where you can scroll through every UUID. That's bananas. Like every UUID.
And someone pointed me to a blog post about a website where someone wanted to make a web page where you can scroll through every UUID. That's bananas. Like every UUID.
Well, the idea is a web page and you scroll it and the top is the first UUID and at the bottom is the last one. And in between are all the other possible UUIDs between those values. Now, and this is like an example of like, well, how far can you push the whole like, you know, like we mentioned before, if you're recycling the cells, it shouldn't matter how many things there are in the list, right?
Well, the idea is a web page and you scroll it and the top is the first UUID and at the bottom is the last one. And in between are all the other possible UUIDs between those values. Now, and this is like an example of like, well, how far can you push the whole like, you know, like we mentioned before, if you're recycling the cells, it shouldn't matter how many things there are in the list, right?
The performance should be the same with 10, 1,000, 100,000, a million, a billion. The performance should be exactly the same all the time, right? And this is kind of a demonstration of that. Now, I feel like they cheated because when you go to the website, everyuuid.com, you will see how they cheated. It's not really scrolling it.
The performance should be the same with 10, 1,000, 100,000, a million, a billion. The performance should be exactly the same all the time, right? And this is kind of a demonstration of that. Now, I feel like they cheated because when you go to the website, everyuuid.com, you will see how they cheated. It's not really scrolling it.
It's really just showing a fixed list of cells with values that change. So and it's a fake scroll bar. So but anyway, the blog post about how they implemented it is fun because obviously there's no sort of data like you can generate all of these. And I think they're essentially like sequential or whatever. But I thought it was interesting, interesting enough to be in the show notes.
It's really just showing a fixed list of cells with values that change. So and it's a fake scroll bar. So but anyway, the blog post about how they implemented it is fun because obviously there's no sort of data like you can generate all of these. And I think they're essentially like sequential or whatever. But I thought it was interesting, interesting enough to be in the show notes.
If you want to see one of the challenges of trying to have a not infinite, but very, very large scrolling list, every UUID.com.
If you want to see one of the challenges of trying to have a not infinite, but very, very large scrolling list, every UUID.com.
This is like finding an extra room in your house that you've never discovered before. Like you didn't realize your whole house is wired with the internet. You just remove one of the phone switches. There's Ethernet cable in here. What a heartwarming story that will never happen to anybody else.
This is like finding an extra room in your house that you've never discovered before. Like you didn't realize your whole house is wired with the internet. You just remove one of the phone switches. There's Ethernet cable in here. What a heartwarming story that will never happen to anybody else.
Run those LED strips all over his house. What was the name of that candy where you constantly eat paper because they stick to it? Oh, oh God. Dots are the chewy things in the box.
Run those LED strips all over his house. What was the name of that candy where you constantly eat paper because they stick to it? Oh, oh God. Dots are the chewy things in the box.
It was like a piece of paper and had hard little pieces of sugar stuck to it. And the idea was that you would scrape the little hard pieces of sugar off the paper with your teeth or your fingers, but you inevitably end up eating paper. They were a terrible candy and I'm glad I can't remember their name.
It was like a piece of paper and had hard little pieces of sugar stuck to it. And the idea was that you would scrape the little hard pieces of sugar off the paper with your teeth or your fingers, but you inevitably end up eating paper. They were a terrible candy and I'm glad I can't remember their name.