Search speedup by: caching splitted questions/answers, and refactoring string compare algorithym

This commit is contained in:
mrfry 2021-03-17 12:24:50 +01:00
parent 043e825302
commit 8fdc62349b
6 changed files with 152 additions and 86 deletions

View file

@ -10,6 +10,10 @@ export interface Question {
Q: string
A: string
data: QuestionData
cache?: {
Q: string
A: string
}
}
export interface Subject {