Update readme.

This commit is contained in:
Victor Zverovich 2012-12-11 16:30:27 -08:00
parent e2725eeeb1
commit 7c697bfcac

View File

@ -9,12 +9,16 @@ Features
* Format string syntax similar to the one used by `str.format * Format string syntax similar to the one used by `str.format
<http://docs.python.org/2/library/stdtypes.html#str.format>`__ in Python. <http://docs.python.org/2/library/stdtypes.html#str.format>`__ in Python.
* Support for user-defined types. * Support for user-defined types.
* High speed: performance of the current proof-of-concept implementation * High speed: performance of the current implementation is close to that of
is close to that of IOStreams (see `Speed tests`_). ``printf``. See `Speed tests`_.
* Small code size both in terms of source code (format consists of a single * Small code size both in terms of source code (format consists of a single
header file and a single source file) and compiled code header file and a single source file) and compiled code.
(see `Compile time and code bloat`_). See `Compile time and code bloat`_.
* Easy deployment: small self-contained code base, no external dependencies, * Reliability: the library has an extensive set of `unit tests
<https://github.com/vitaut/format/blob/master/format_test.cc>`__.
* Safety: the library is fully type safe, errors in format strings are
reported using exceptions.
* Ease of use: small self-contained code base, no external dependencies,
permissive license. permissive license.
Examples Examples