Remove SmallString::append_*int* methods; how many copies of int -> str
authorDaniel Dunbar <daniel@zuster.org>
Wed, 19 Aug 2009 19:28:18 +0000 (19:28 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 19 Aug 2009 19:28:18 +0000 (19:28 +0000)
commit921be7a6f245f42accaa4f001271cb3f0c513d76
tree2d3abb4d54b37a00b89876cdbb1dba9dbc38f732
parent29c142077e49b91b36650ecd5664ba4a97b961b1
Remove SmallString::append_*int* methods; how many copies of int -> str
conversion code do we really need?
 - S.append_uint(N) can be replaced with 'raw_svector_ostream(S) << N' which is
   somewhat slower due to the extra set up cost, but still plenty fast
   (especially if the svector set up cost can be amortized).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79450 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallString.h