commit | e47c09d3cce9391b96453778caa98deb97e88988 | [log] [tgz] |
---|---|---|
author | Nan Zhou <nanzhoumails@gmail.com> | Tue Oct 25 00:06:41 2022 +0000 |
committer | Nan Zhou <nanzhoumails@gmail.com> | Tue Nov 01 18:16:30 2022 +0000 |
tree | f06bc5c84b696d3275c9a5b91a02e609624b3d61 | |
parent | c5382dbf79e42e1426cf5a9d6aa7e328974ca3d9 [diff] |
getCSVFromVector: optimize and add tests Optimization: avoid copy; simpifiled unnessary branches; reduced temperary string being created when doing string concatenation. Added unit test for this function. Tested: unit test Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I8c334dc4f087e262bb3e8613e86cfc2a93d525a0