On Thu, Jul 28, 2011 at 11:32 AM, Chris Foster <[email protected]> wrote:
> Results:

I've one more result to add to this table: plain C++ iostreams:

|                         | total compile time  | a.out size (stripped)
| printf                  | 1.2s                | 44K   (36K)
| tinyformat              | 12.9s               | 172K  (140K)
| tinyformat, c++0x mode  | 14.8s               | 172K  (140K)
| tinyformat, no inlines  | 12.0s               | 128K  (100K)
| boost::format           | 51.6s               | 772K  (676K)
| std::ostream            | 8.5s                | 84K   (64K)

So yes, tinyformat is a relatively thin wrapper around the iostreams in terms
of compile time, but it does bloat up the executable by about 2x.

~Chris
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to