type] Add runtime iteration support for sets
commitd797c7c4fade6d1102938cf6ee6c50fae885a342
authorAlfred Fuller <afuller@meta.com>
Wed, 21 Sep 2022 23:24:14 +0000 (21 16:24 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 21 Sep 2022 23:24:14 +0000 (21 16:24 -0700)
tree41620932101511dbb5c84787a9bd7653aad2068b
parent77e582ae5c810bace8a4f866224e575fe4fb917d
type] Add runtime iteration support for sets

Summary:
Starting out with the simplest possible API (one function called next()).
Remove support for the previous O(n^2) iteration on sets.

Reviewed By: iahs

Differential Revision: D39553389

fbshipit-source-id: d50791939be81123b73328a374667092c45007d0
third-party/thrift/src/thrift/lib/cpp2/op/detail/BaseOp.h
third-party/thrift/src/thrift/lib/cpp2/op/detail/ContainerOp.h
third-party/thrift/src/thrift/lib/cpp2/type/Runtime.cpp
third-party/thrift/src/thrift/lib/cpp2/type/Runtime.h
third-party/thrift/src/thrift/lib/cpp2/type/RuntimeTest.cpp
third-party/thrift/src/thrift/lib/cpp2/type/detail/Runtime.h
third-party/thrift/src/thrift/lib/cpp2/type/detail/TypeInfo.h