Skip to content

Use native methods in BBQ calculations#149403

Open
thecoop wants to merge 3 commits into
elastic:mainfrom
thecoop:native-osq-sqr-calcs
Open

Use native methods in BBQ calculations#149403
thecoop wants to merge 3 commits into
elastic:mainfrom
thecoop:native-osq-sqr-calcs

Conversation

@thecoop
Copy link
Copy Markdown
Member

@thecoop thecoop commented May 19, 2026

Use native methods when calculating various BBQ values for added go-faster stripes.

I've dropped the panama implementation for simplicity - it can be easily added back if required.

@thecoop thecoop force-pushed the native-osq-sqr-calcs branch from 3cfa70c to 7b0a309 Compare May 19, 2026 14:53
@thecoop thecoop added the WIP label May 19, 2026
@thecoop thecoop marked this pull request as ready for review May 19, 2026 14:54
Update checks
@thecoop thecoop force-pushed the native-osq-sqr-calcs branch from 3ee266d to 3efc190 Compare May 19, 2026 15:16
// we require all prefixes to be a multiple 64, we want to take best advantage of vectorization
private static final int PREFIX_MULTIPLE = 64;
private static final int PREFIX_TOPK_SIZE = 4;
private static final int PREFIX_TOPK_SIZE = SQR_BULK_SIZE;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a breaking change at all?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants