mountainMath / mountainMath/cancensus
Consider replacing jsonlite with rcppsimdjson
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 90
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
The new c++ based json parser simdjson is making some waves with very impressive benchmarks compared to established parsers like jsonlite. An R implementation just hit CRAN: https://github.com/eddelbuettel/rcppsimdjson.
Perhaps risky to adopt just yet but we should monitor. Possible downside would be adding an Rcpp dependency. But the upside could be significant improvement in parsing speed of long datasets for cancensus and cansim.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how cancensus and cansim parse long datasets, then compare jsonlite with the R package rcppsimdjson and assess the possible Rcpp dependency. Done means having benchmark evidence and a documented decision about whether replacing the parser is worthwhile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, r
- Domain
- data, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100