Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement inverse square in codel_impl.h without table lookup #64

Open
netoptimizer opened this issue Nov 7, 2022 · 1 comment
Open

Comments

@netoptimizer
Copy link
Member

The traffic-pacing-edt/codel_impl.h code implements a table lookup for the inverse square root.

As Kathleen Nichols ( @kmnichols ) point out there's no need for a lookup table, as inverse square root isn't that expensive to calulate (only requires multiplies).

I welcome someone to implement this.

@sachintiptur
Copy link
Contributor

sachintiptur commented Sep 12, 2023

I can take up this.

Ref. calculation: https://en.wikipedia.org/wiki/Fast_inverse_square_root#Accuracy

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

No branches or pull requests

2 participants