Skip to content

Conversation

ksqsf
Copy link
Member

@ksqsf ksqsf commented Sep 28, 2024

Essentially adding a cache for table_->GetSyllableById.

Before:

CleanShot 2024-09-28 at 22 42 29@2x

After:

CleanShot 2024-09-28 at 22 43 04@2x

@ksqsf ksqsf requested a review from lotem September 28, 2024 20:43
@ksqsf ksqsf changed the title optimize DfsLookup Optimize user dictionary lookup performance Sep 28, 2024
Copy link
Member

@lotem lotem left a comment

Choose a reason for hiding this comment

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

厉害

@ksqsf ksqsf merged commit aaaaaec into master Sep 29, 2024
10 checks passed
@ksqsf ksqsf deleted the optimize branch September 29, 2024 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants