Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit b3e4684

Browse files
committed
ADT: Shrink size of SmallVector by 8B on 64-bit platforms
Representing size and capacity directly as unsigned and calculate `end()` using `begin() + size()`. This limits the maximum size/capacity of a vector to UINT32_MAX. https://reviews.llvm.org/D48518 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337504 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d11d789 commit b3e4684

File tree

2 files changed

+95
-112
lines changed

2 files changed

+95
-112
lines changed

0 commit comments

Comments
 (0)