protobuf-c 1.5.1
Protocol Buffers implementation in C
ProtobufCIntRange Struct Reference

Helper structure for optimizing int => index lookups in the case where the keys are mostly consecutive values, as they presumably are for enums and fields. More...

Data Fields

int start_value
 
unsigned orig_index
 

Detailed Description

Helper structure for optimizing int => index lookups in the case where the keys are mostly consecutive values, as they presumably are for enums and fields.

The data structures requires that the values in the original array are sorted.