[CXX-902] Reduce flushes on output operations... Created: 27/Apr/16 Updated: 19/Sep/16 Resolved: 28/Apr/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Performance |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.2 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Rico Antonio Felix [X] | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Any && All |
||
| Description |
|
According to the [C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines) @ `SL.50`, the use of `std::endl` causes performance degradation and should be replaced with '\n'... |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 28/Apr/16 ] |
| Comment by Githook User [ 28/Apr/16 ] |
|
Author: {u'username': u'RicoAntonioFelix', u'name': u'RicoAntonioFelix', u'email': u'ricoantoniofelix@yahoo.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 27/Apr/16 ] |
|
We appear to only reference endl in one file in bsoncxx/src/json.cpp, and the fixes look trivial. I suggest that you send us a pull request. |