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

Renames CachedObjectStorage to Collection/Cells #104

Closed
wants to merge 1 commit into from

Conversation

jaapio
Copy link

@jaapio jaapio commented Feb 25, 2017

This applies the first step to refactor the cache of cells.

Refs #3

@PowerKiKi
Copy link
Member

That seems a bit early to create a PR when no decision was made in #3 about what we should do. If PSR is indeed implemented I suppose it would more efficient to refactor everything in a single pass. I am tempted to close this, but I'll leave it open until a decision is made in #3.

@jaapio
Copy link
Author

jaapio commented Feb 26, 2017 via email

@PowerKiKi
Copy link
Member

discovered the real function of
these classes

And what exactly did you understand from the code ? I am interested in your opinion because I am not very familiar with this part yet and your views may differ from mine...

@jaapio
Copy link
Author

jaapio commented Feb 28, 2017

I thought is was some kind of caching layer to speed things up, but is isn't. It is literally the collection of cells in a workspace. Which makes sense acually since the number of cell objects can be quite large.

The different implementations are just to use different backends

@MarkBaker
Copy link
Member

The purpose was purely to reduce memory overhead of large numbers of cell objects, providing a way of holding the cell objects outside of PHP memory, and offering a range of different out-of-memory options that would suit users with different environments, and access to different cache libraries (redis/memcache/APC/etc) that could be used for out-of-memory storage

@PowerKiKi
Copy link
Member

This won't be merged in favor of a more in depth refactoring

@PowerKiKi PowerKiKi closed this Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants