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 optimization strategy for normalized booleans #915

Open
boriel opened this issue Nov 27, 2024 · 0 comments
Open

Implement optimization strategy for normalized booleans #915

boriel opened this issue Nov 27, 2024 · 0 comments
Assignees

Comments

@boriel
Copy link
Collaborator

boriel commented Nov 27, 2024

What / Why

Now that automatic boolean normalization is implemented, we need it to follow one of these two strategies:

  • Optimization for speed (spends more memory)
  • Optimization for size (saves memory at the cost of some penalization in speed)
  • Auto (the default), tries to optimize always following a sensible default, for speed.

Some subroutines (i.e. string comparison and float comparison) are already normalized. But other ones, notability 16 and 32 bits comparison needs to be defined and implemented for size strategy.

The macro __ZXB_OPT_STRATEGY will be defined according to the strategy.

@boriel boriel self-assigned this Nov 27, 2024
@boriel boriel converted this from a draft issue Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant