add visitContiguousRanges iteration API to F14
Summary: When passing elements of a set or map through a bulk API that understands arrays, it is a useful optimization to be able to iterator or visit contiguous ranges rather than individual elements. This diff adds visitContiguousRanges to F14 maps and sets, which repeatedly passes a contiguous range to the visitor. The range is identified with a begin and end value_type const*. Each value_type of the table will be included in exactly one of the passed ranges, and the number of ranges will be minimized whenever possible. Reviewed By: yfeldblum Differential Revision: D8332897 fbshipit-source-id: a7cd5d670b14faeeef97497cccd4cb0a3b07dd50
Showing
Please register or sign in to comment