Skip to content

Simplify the code#92

Open
eumiro wants to merge 7 commits intosffjunkie:masterfrom
eumiro:numerics
Open

Simplify the code#92
eumiro wants to merge 7 commits intosffjunkie:masterfrom
eumiro:numerics

Conversation

@eumiro
Copy link
Copy Markdown

@eumiro eumiro commented Jun 27, 2023

Here are a few code simplifications and refactorings in separate commits

  1. Fix number of microseconds in an hour
  2. Simplify number clipping
  3. Simplify timedelta usage
  4. Simplify string formatting
  5. Simplify modulo calculations
  6. Replace floats with integers
  7. Use math.hypot

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