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
when using "camput permanode" or "camput attr".
-- use 'int' instead of 'int64' for blob sizes everywhere. blobs
have a max size of 10-32 MB anyway. definitely not bigger than
what will fit in memory (which is what int means)
-- use 'uint32' instead of 'int64' for blob sizes everywhere (notably
blob.SizedRef). blobs have a max size of 10-32 MB anyway, and the
index.Corpus is now using uint32 to save memory.
-- verify all ReceiveBlob calls and see which should be
blobserver.Receive instead, or ReceiveNoHash. git grep -E