mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Search speedup by: caching splitted questions/answers, and refactoring string compare algorithym
This commit is contained in:
parent
043e825302
commit
8fdc62349b
6 changed files with 152 additions and 86 deletions
|
@ -10,6 +10,10 @@ export interface Question {
|
|||
Q: string
|
||||
A: string
|
||||
data: QuestionData
|
||||
cache?: {
|
||||
Q: string
|
||||
A: string
|
||||
}
|
||||
}
|
||||
|
||||
export interface Subject {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue