[SERVER-57371] ItoA should be able to write to a user-supplied buffer Created: 02/Jun/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-57206 Compiler warnings in JSStringWrapper:... Closed
is related to SERVER-47391 Coverity analysis defect 114099: Copy... Closed
Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 Description   

This has come up in a few unrelated code changes.
Sometimes we have a mutable span of char and it would be more efficient to write directly into it than to write into an ItoA object's buffer and memcpy it out.
The ItoA algorithm should be separated from its buffering representation.


Generated at Thu Feb 08 05:41:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.