Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Sep 23, 2024

No description provided.

@CarterLi
Copy link
Member

Can you clarify what is improved?

@ghost
Copy link
Author

ghost commented Sep 23, 2024

Can you clarify what is improved?

this version uses a for-loop instead of multiple conditional checks

and other minor tweaks

@CarterLi
Copy link
Member

No. You made it slower. If MemAvailable is available, other properties should not be searched.

@CarterLi CarterLi closed this Sep 24, 2024
@ghost
Copy link
Author

ghost commented Sep 24, 2024

No. You made it slower. If MemAvailable is available, other properties should not be searched.

would you like me to fix that 🙃

@CarterLi
Copy link
Member

No

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.

1 participant