TODO: use uint32 for SizedRef, not int

Change-Id: I6f8bdfd483c1be4e3ec933f2bf05686163ed2bd7
This commit is contained in:
Brad Fitzpatrick 2013-12-02 12:01:42 -08:00
parent 7466336f44
commit 0c73a65f78
1 changed files with 3 additions and 3 deletions

6
TODO
View File

@ -21,9 +21,9 @@ Offline list:
has to try to upload it (doing a remote HTTP stat) each time has to try to upload it (doing a remote HTTP stat) each time
when using "camput permanode" or "camput attr". when using "camput permanode" or "camput attr".
-- use 'int' instead of 'int64' for blob sizes everywhere. blobs -- use 'uint32' instead of 'int64' for blob sizes everywhere (notably
have a max size of 10-32 MB anyway. definitely not bigger than blob.SizedRef). blobs have a max size of 10-32 MB anyway, and the
what will fit in memory (which is what int means) index.Corpus is now using uint32 to save memory.
-- verify all ReceiveBlob calls and see which should be -- verify all ReceiveBlob calls and see which should be
blobserver.Receive instead, or ReceiveNoHash. git grep -E blobserver.Receive instead, or ReceiveNoHash. git grep -E