base/allocator: Remove '%' from aligned allocations.
Modulo operations are very slow, replace it with a subtraction and a bitmask operation. Bug: 998048 Change-Id: Iff08febd395c7735c416ced4914e32fcf4d9f81a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2309696 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by:Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/master@{#790425}
Showing
Please register or sign in to comment