Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Logic and performance #38

Closed
wants to merge 1 commit into from
Closed

Logic and performance #38

wants to merge 1 commit into from

Conversation

AliHaider20
Copy link

Improved logic by replacing if x>0 to x.
Removed math library as only 1 function was called from i.e log10 which saved memory.

Improved logic by replacing if x>0 to x.
Removed math library as only 1 function was called from i.e log10 which saved memory.
@nschloe
Copy link
Owner

nschloe commented Jul 17, 2021

For readability, I prefer the import and the conditionals as they are right now.

@nschloe nschloe closed this Jul 17, 2021
@AliHaider20
Copy link
Author

Ok great.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants