[webkit-dev] size_t vs unsigned in WTF::Vector API ?

Alexey Proskuryakov ap at webkit.org
Thu Nov 20 10:51:49 PST 2014


20 нояб. 2014 г., в 10:45, Filip Pizlo <fpizlo at apple.com> написал(а):

>> - uint64_t everywhere. This way, we'll solve practical problems with large resources once and for all. Also, this may prove to be necessary to solve even YouTube/Google Drive uploads, I do not know that yet.
> 
> How does this solve the problem of >4GB data on 32-bit systems? 

OK, that was not very thoughtful of me indeed. This option is not a good one.

> Are you saying that because the code that measures file sizes uses a 64-bit type then therefore the code that measures memory object sizes should also use that same type?

I'm not; it seems practical enough to isolate code that deals with local files, so they don't need to affect the design.

- Alexey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20141120/386f8231/attachment.html>


More information about the webkit-dev mailing list