-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Wire together LRU GC #1905
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
Merged
Merged
Wire together LRU GC #1905
Changes from 8 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
ba07d15
Wire together LRU GC
46b6a95
Lint
ab90dd6
Fix declarations
b4ec0dc
Renaming, and using C++ namespaces
95e6f77
add NS tags to initializers, switch gc call to collect
42e1566
Remove timing from lru results struct
c2ace26
Switch to chrono for times
efac4fd
Move LruResults in C++ namespaces
eaa682f
Rename localstore garbage collection method
ee2cd93
Style
6b707ba
exempt chrono from linting
f8c5df3
Merge in master
dc948b9
Style
9aec574
BOOL -> bool
be136d3
Define unlimited cache size for ObjC
618f329
Fix type
161df33
Drop unused fields
e5259ad
Technically calls to GC should be in a transaction, the tests passed …
e0cda8c
Add transaction in local store as well
8622c2b
Fix subtle unsigned bug in test
6d13c58
Switch to serializedSize method
55a7608
Fix in-memory lru orphan calculation
c3098d6
Style
9894353
Wire up LRU GC (#1925)
bdee384
Merge branch 'master' into lru_with_master
17fc9e2
Add second timer setup, use NSInterval, drop post-compaction
2cc5374
Merge branch 'master' into lru_gc_disabled
ba76b15
Merge branch 'gsoltis/lru_gc_disabled' of https://github.com/firebase…
70f945b
Merge in upstream
47cc5b4
Update comment re orphaned documents
f20c50a
Style
3a1bc20
Remove unnecessary to_string calls
ba406b6
LRU tweaks (#1961)
515b0c3
Merging in master
0bdfb98
Style
6297c33
Merge branch 'master' into lru_with_master
3107b3a
pod update
d355437
Fix lint tag
7a70f23
Merge in upstream
40c34aa
Fix merge conflict
e485277
Use DelayedOperation directly, since it can be internally empty
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C++ has a boolean type
bool
whose literals aretrue
andfalse
. (BOOL
,YES
,NO
are Objective-C).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, done.