Skip to content
Commit ce2a9222 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Tweak MemoryBuffer to allocate the class itself, the name and possibly the

buffer in the same chunk of memory.

2 less mallocs for every uninitialized MemoryBuffer and 1 less malloc for every
MemoryBuffer pointing to a memory range translate into 20% less mallocs on
clang -cc1 -Eonly Cocoa_h.m.

llvm-svn: 106839
parent b890fc80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment