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

Prune speedup #845

Merged
merged 17 commits into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion link-grammar/connectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static inline bool easy_match(const char * s, const char * t)
* When this function is called, it is assumed that the upper-case
* parts are equal, and thus do not need to be checked again.
*/
static bool lc_easy_match(const condesc_t *c1, const condesc_t *c2)
static inline bool lc_easy_match(const condesc_t *c1, const condesc_t *c2)
{
return (((c1->lc_letters ^ c2->lc_letters) & c1->lc_mask & c2->lc_mask) ==
(c1->lc_mask & c2->lc_mask & 1));
Expand Down
Loading