Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving speed of layouting #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Improving speed of layouting #92

wants to merge 1 commit into from

Conversation

soniccat
Copy link

@soniccat 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
Copy link

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)...

@soniccat
Copy link
Author

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

@iOkay
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants