Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Improving speed of layouting #92

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants

soniccat commented May 8, 2012

I just downloaded your library and started analyze source code. It's a nice written project).
But I found that setSubviewsCacheAsInvalid is called in every layoutSubviews call. I think that it's wrong to clear cache when I scroll by 1 pixel. We should do this only if we have new cells to load.
Am I wrong?

mwyman commented May 23, 2012

Maybe I'm wrong, but this code is very similar to another performance improvement that was committed then withdrawn a while ago.

While it's useful in speeding up scrolling (I have similar code in a private build), it apparently caused problems for some developers. Not quite sure why my use case isn't giving me the same problems (perhaps because I'm not allowing reordering)...

Hmm it means that I will change the library in different places when I will use it)

iOkay commented Sep 18, 2012

There are something wrong in the editing status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment