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

Split util.h to more concrete util headers #1144

Merged
merged 1 commit into from
Nov 26, 2022

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Nov 26, 2022

As discussed in #973 (comment), it seems a header file named util.h can lead to a disaster: all functions that we do not know where to put will be placed in this file, making this file cluttered and bloated.

We need more specific file names rather than util.h, so in this PR, we separate functions in util.h into different files: string_util.h, io_util.h, time_util.h and thread_util.h.

@PragmaTwice
Copy link
Member Author

Thanks all. Merging...

@PragmaTwice PragmaTwice merged commit c439f3a into apache:unstable Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants