search for: r244870

Displaying 3 results from an estimated 3 matches for "r244870".

2015 Aug 13
2
SmallString + raw_svector_ostream combination should be more efficient
...o function as before. To explicitly prevent calling raw_svector_ostream::flush(), is that a good solution to commit? 2015-08-13 16:53 GMT+03:00 Rafael EspĂ­ndola <rafael.espindola at gmail.com>: > On 13 August 2015 at 04:17, Yaron Keren <yaron.keren at gmail.com> wrote: > > r244870 (with the change you requested), thanks! > > > > I initially placed the virtual function in header since they were > > one-liners. > > The coding standards say that an anchor() function should be supplied, > which > > was indeed missing. Other than required anchor...
2015 Aug 13
2
SmallString + raw_svector_ostream combination should be more efficient
r244870 (with the change you requested), thanks! I initially placed the virtual function in header since they were one-liners. The coding standards say that an anchor() function should be supplied, which was indeed missing. Other than required anchor function, why should the virtual functions go in the ....
2015 Aug 12
2
SmallString + raw_svector_ostream combination should be more efficient
+llvm-dev at lists.llvm.org The impact should be small as all the other streamers usually write directly to the memory buffer and only when out of buffer they call write(). OTOH, raw_svector_ostream (without a buffer) goes though write for every character or block it writes. It can work without virtual write() by overriding the existing virtual write_impl() but this is a slower code path for