-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More efficient implementation for incrementally loading assets.
Now using Rx.js style observables/subscriptions to notify the gallery layout of new items that have been loaded, allowing the layout to be incrementally built as new assets come in. This is much faster than how it used to be. Previously the layout was computed from the entire asset set on each increment and it grows with each new page of assets loaded. Eventually the asset set will equal the entire asset library and so as pages are loaded the layout was getting more and more expensive to build. Now the layout is computed at each increment only for the new assets in the increment and not for the entire growing set.
- Loading branch information
1 parent
2993530
commit a0b3c31
Showing
11 changed files
with
432 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.