Investigate alternate PHF algorithms for detecting keywords
@DimitrisJim ci sta già lavorando.
Dal 17/5/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
This relates to a discussion on discord a while back.
The basic idea is that we can create a custom hash function for our keywords that's based on their structure (see related video in discussion) and possibly gain a good perf boost by replacing rust_phf. It still needs some investigating and bench-marking to actually evaluate if this would result in any significant improvement.
Afaik, this usually results in a bigger table being generated (for a keyword set of 30 odd functions, we might need a table of 1024 or 2048 elements mostly filled with None's) but that's a small price to pay considering this table should only be generated for the keywords and nothing else.
- Lingua principale
- Rust
- Stelle
- 117
- Fork
- 38
- Merge medio
- 4g 7h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RustPython/Parser
-
Maintenance status Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
RustPython/Parser#140 · 3 commenti ·
-
`unic` is unmaintained Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
RustPython/Parser#139 · 3 commenti ·
-
cargo audit paste Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
RustPython/Parser#137 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
RustPython/Parser#133 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
RustPython/Parser#130 ·
Tutte le issue di RustPython/Parser
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
MystenLabs/sui#28056 · 1 commento ·
-
type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Luminous-Dynamics/mycelix#2577 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
registrystack/registry-stack#1239 ·
-
package-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
msys2/MINGW-packages#31806 ·