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

Efficiency concerns #2

Open
npatrick04 opened this issue Jun 3, 2016 · 0 comments
Open

Efficiency concerns #2

npatrick04 opened this issue Jun 3, 2016 · 0 comments

Comments

@npatrick04
Copy link
Owner

Varjag mentioned some efficiency concerns on reddit. While this library hits the "known, reliable precision and rounding behavior in a known range and domain" use case for fixed point, it misses on compact representation and efficiency gains that can come from that and SIMD operations on arrays of these types.

While the compact representation is partially approached by declaring the underlying type as a ranged integer type when low and high limits are provided, any compactness is lost due to the data being stored in a CLOS instance.

SIMD operations are infeasible without a compact array of the underlying type. To approach this, it may be worth it to define a fixed array type.

Also, consider looking at improving the efficiency of the generic operations with inlined generic functions.

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

1 participant