[MCOL-5422] func__json_* does not do copy elision and it should Created: 2023-02-16 Updated: 2023-07-01 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Zefirov | Assignee: | Sergey Zefirov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
utils/funcexp/func_json_*.cpp implementations use NullString copying constructor instead of using a string_view functionality to hold a view inside a std::string. This can be detrimental to JSON_* functions performance. |