Skip to content

Port FSTDocumentSet to C++ #2608

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 12 commits into from
Mar 25, 2019
Merged

Port FSTDocumentSet to C++ #2608

merged 12 commits into from
Mar 25, 2019

Conversation

wilhuff
Copy link
Contributor

@wilhuff wilhuff commented Mar 21, 2019

No description provided.

@rsgowman rsgowman assigned wilhuff and unassigned rsgowman Mar 22, 2019
@wilhuff wilhuff assigned rsgowman and unassigned wilhuff Mar 24, 2019
* order to make it possible for users of the SortedMap classes to avoid needing
* to declare storage for each instantiation of the template.
*/
class SortedMapBase : public SortedContainer {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can SortedMapBase (and SortedMapBase::kFixedSize in the .cc file) stay in the impl namespace?

@rsgowman rsgowman assigned wilhuff and unassigned rsgowman Mar 25, 2019
@wilhuff wilhuff merged commit c2a3d04 into master Mar 25, 2019
@wilhuff wilhuff deleted the wilhuff/document-set branch March 25, 2019 18:15
Corrob pushed a commit that referenced this pull request Apr 25, 2019
* Replace FSTDocumentSet's guts with immutable::SortedSet.

* Port FSTDocumentSet to C++ DocumentSet.

* Replace implementation of FSTDocumentSet with C++ DocumentSet

* Update all usages of FSTDocumentSet

* Remove FSTDocumentSet

* Add Objective-C++ guard

* Use absl::c_equal instead of hand-rolling it.

* Split SortedContainer out of SortedMapBase

... and use it

* Fix NSNotFound -> npos

* Remove = default constructors that aren't true.

These are implicitly deleted because DocumentSet is a member and isn't
default constructible.

* Fix usage of FSTQuery.limit
@firebase firebase locked and limited conversation to collaborators Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants