Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move standalone UTF8 functions from string_view.hpp to utf8.hpp #10369

Merged

Conversation

davidwendt
Copy link
Contributor

@davidwendt davidwendt commented Feb 28, 2022

Move some standalone UTF8 functions that were defined in string_view.hpp to a new details/utf8.hpp. While working on #10270 and reworking some regex utilities, the standalone functions are useful without needing to include the string_view class definition. These can be included and used in .cpp host source files as needed as well.

This is purely for cleanup and convenience. No actual functions have been added, updated or removed.

@davidwendt davidwendt added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 28, 2022
@davidwendt davidwendt self-assigned this Feb 28, 2022
@github-actions github-actions bot added the conda label Feb 28, 2022
@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #10369 (d0539b7) into branch-22.04 (87a2ea4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##           branch-22.04   #10369   +/-   ##
=============================================
  Coverage         10.58%   10.58%           
=============================================
  Files               125      125           
  Lines             21058    21058           
=============================================
  Hits               2228     2228           
  Misses            18830    18830           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87a2ea4...d0539b7. Read the comment docs.

@davidwendt davidwendt changed the title Move standalone string functions from string_view.hpp to string.hpp Move standalone UTF8 functions from string_view.hpp to utf8.hpp Mar 1, 2022
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Mar 1, 2022
@davidwendt davidwendt marked this pull request as ready for review March 1, 2022 14:21
@davidwendt davidwendt requested review from a team as code owners March 1, 2022 14:21
Copy link
Member

@PointKernel PointKernel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ajschmidt8 ajschmidt8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving ops-codeowner file changes

@davidwendt
Copy link
Contributor Author

@gpucibot merge

1 similar comment
@jjacobelli
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit a999ba9 into rapidsai:branch-22.04 Mar 8, 2022
@davidwendt davidwendt deleted the refactor-string-functions branch March 8, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change strings strings issues (C++ and Python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants