Skip to content

Conversation

@henrymercer
Copy link
Contributor

Absent features are now represented implicitly by the absence of a row in the tokenFeatures relation, rather than explicitly by an empty string. This leads to improved runtime performance. To enable this implicit representation, we pass the set of supported token features to the scoreEndpoints HOP.

This change requires CodeQL CLI v2.7.4 — we will likely want to hold off on merging this until that version of the CLI is released.

Internal PR backlinked.

@henrymercer henrymercer requested a review from Z80coder December 13, 2021 18:21
@github-actions github-actions bot added the JS label Dec 13, 2021
Z80coder
Z80coder previously approved these changes Dec 13, 2021
Copy link
Contributor

@Z80coder Z80coder left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@henrymercer henrymercer force-pushed the henrymercer/js-atm-absent-features-optimization branch from 33e0ac8 to 2f9776d Compare December 17, 2021 16:39
@henrymercer henrymercer changed the base branch from main to henrymercer/js-atm-only-featurize-with-flow December 17, 2021 16:39
Base automatically changed from henrymercer/js-atm-only-featurize-with-flow to main December 17, 2021 18:03
Absent features are now represented implicitly by the absence of a row in the `tokenFeatures` relation, rather than explicitly by an empty string. This leads to improved runtime performance. To enable this implicit representation, we pass the set of supported token features to the `scoreEndpoints` HOP. Requires CodeQL CLI v2.7.4.
@henrymercer henrymercer force-pushed the henrymercer/js-atm-absent-features-optimization branch from 2f9776d to 144ec8c Compare December 17, 2021 18:04
@henrymercer henrymercer marked this pull request as ready for review January 17, 2022 18:56
@henrymercer henrymercer requested a review from a team as a code owner January 17, 2022 18:56
@henrymercer henrymercer requested a review from Z80coder January 17, 2022 18:56
@henrymercer
Copy link
Contributor Author

@Z80coder This is ready to merge now that v2.7.5 of the CodeQL CLI has been released

Copy link
Contributor

@Z80coder Z80coder left a comment

Choose a reason for hiding this comment

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

LGTM

@henrymercer henrymercer merged commit 1893b9f into main Jan 18, 2022
@henrymercer henrymercer deleted the henrymercer/js-atm-absent-features-optimization branch January 18, 2022 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants