Skip to content

Commit

Permalink
Merge pull request #845 from ampli/prune-speedup
Browse files Browse the repository at this point in the history
Prune speedup
  • Loading branch information
linas authored Nov 6, 2018
2 parents 455763a + 0b9a5f7 commit e51657a
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 113 deletions.
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

0 comments on commit e51657a

Please sign in to comment.