Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Dec 20, 2025

@moznion
Copy link

moznion commented Dec 20, 2025

Thank you for incorporating the functionality of my library.
I have one quick question: when a user calls nprocessors, does it read the file every time? Is that acceptable?

@nobu
Copy link
Member Author

nobu commented Dec 23, 2025

I think it is same as that Etc.nprocessors makes a system call every time it is called.
And usually it won't be called so many times in a process.

@moznion
Copy link

moznion commented Dec 29, 2025

Thank you, I understand that.

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