commit | 6969fd4292adfa44024f3bdac7c45bcfee75754f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Nov 08 18:32:01 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Nov 08 18:32:01 2007 +0000 |
tree | 8bb6f6b5fc3c9d3fa6a5e958aa090df0c6971891 | |
parent | ca305a0bbbf6a33a010c7e89f0c7a5a23a1bcf43 [diff] |
improve MakeRopeString to avoid doing a malloc for every 2-character string that gets inserted. This speeds up the rewriter another 10%. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43896 91177308-0d34-0410-b5e6-96231b3b80d8