microsoft / microsoft/TypeScript-Sublime-Plugin
Use an alternative JSON deserialization library
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.7k
- Fork
- 236
- Merge medio
- 21g 13h
- PR unite (30g)
- 1
Descrizione
I've heard through the grapevine that one of our current constraints has been JSON size due to the limits of parsing speed. A fairly recent blog post I read actually points out two incredibly capable competitors:
See: JSON vs simpleJSON vs ultraJSON
Offhand notes:
- Both libraries seem to be consistently faster for loads.
- This is significant beacuse we only do loads.
- UltraJSON generally seems to be faster than simplejson.
- UltraJSON has a C code dependency.
- simplejson is written in Python, but has an optional C backend for speed.
I think it would be worth experimenting with the two to see what kinds of gains we can get.
I've plotted the data from the blog post below.
Loads

Dumps


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.
Direzione di ricerca
L’issue non indica file del repository, test o punti di ingresso; inizia individuando l’attuale percorso di deserializzazione JSON nel plugin. Esegui benchmark dei caricamenti con simplejson e UltraJSON rispetto all’implementazione esistente, tenendo conto della dipendenza C di UltraJSON, e documenta se i miglioramenti misurati giustificano una modifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, python
- Ambito
- performance, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100
