1
在Protobuffers文檔基本數值數據類型的有效編碼,它已被賦予在protobuffers
"For historical reasons, repeated fields of basic numeric types aren't encoded as
efficiently as they could be. New code should use the special option [packed=true] to get
a more efficient encoding. For example:
repeated int32 samples = 4 [packed=true];"
有人能解釋清楚如何語句「包裝=真正的」改進編碼的基本數值數據類型的高效化?
這確實說明!!謝謝你.. –
另外我只是想是否有任何類似的優化技術可用於包含大量對象的重複字段? –
@aarish不,只是簡單的值 –