Skip to content

Simplify non-root Euclidian distance calculation#9

Draft
RainRat wants to merge 1 commit intomasterfrom
codex/refactor-non_root_euclidian_distance-for-performance
Draft

Simplify non-root Euclidian distance calculation#9
RainRat wants to merge 1 commit intomasterfrom
codex/refactor-non_root_euclidian_distance-for-performance

Conversation

@RainRat
Copy link
Owner

@RainRat RainRat commented Sep 20, 2025

Summary

  • replace expensive pow usage in non_root_euclidian_distance with integer delta multiplications
  • drop the now-unused <math.h> include from apiutil.h

Testing

  • python3 test.py (fails: ModuleNotFoundError: No module named 'pyffish')

https://chatgpt.com/codex/tasks/task_e_68ce1a3bd20c83308e7e49091fd8bcc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant