Sort lists of ngrams? #13

Closed
opened 2022-12-06 12:51:05 -08:00 by kj7rrv · 1 comment
Owner

It might make compilation faster to, after finding all the ngrams in an entire category, work on the sorted list of them. Then list.endswith(item) could be used instead of item in list.

It might make compilation faster to, after finding all the ngrams in an entire category, work on the sorted list of them. Then `list.endswith(item)` could be used instead of `item in list`.
Author
Owner

Closing because this is no longer feasible with recent updates to reduce memory usage.

Closing because this is no longer feasible with recent updates to reduce memory usage.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kj7rrv/gptc#13
No description provided.