Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
1c2d00f7
Commit
1c2d00f7
authored
Dec 11, 2012
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rerun the tests.
parent
cd8fbb08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
README.rst
README.rst
+7
-7
No files found.
README.rst
View file @
1c2d00f7
...
...
@@ -6,11 +6,11 @@ Format is a C++ library that provides printf-like formatting functionality.
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.
* Support for user-defined types.
* High speed: performance of the current implementation is close to that of
``printf``. See `Speed tests`_.
``printf``
and much better than IOStreams
. See `Speed tests`_.
* Small code size both in terms of source code (format consists of a single
header file and a single source file) and compiled code.
See `Compile time and code bloat`_.
...
...
@@ -186,11 +186,11 @@ further details see the `source
============== ========
test name run time
============== ========
libc printf 1.2
6
s
std::ostream 2.
02
s
format
2.20
s
tinyformat 2.
51
s
boost::format 10.
40
s
libc printf 1.2
7
s
std::ostream 2.
10
s
format
1.36
s
tinyformat 2.
63
s
boost::format 10.
36
s
============== ========
As you can see boost::format is much slower than the alternative methods; this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment