Package: rco 1.0.2

rco: The R Code Optimizer

Automatically apply different strategies to optimize R code. 'rco' functions take R code as input, and returns R code as output.

Authors:Juan Cruz Rodriguez [aut, cre], Yihui Xie [ctb], Nicolás Wolovick [ctb]

rco_1.0.2.tar.gz
rco_1.0.2.zip(r-4.7)rco_1.0.2.zip(r-4.6)rco_1.0.2.zip(r-4.5)
rco_1.0.2.tgz(r-4.6-any)rco_1.0.2.tgz(r-4.5-any)
rco_1.0.2.tar.gz(r-4.7-any)rco_1.0.2.tar.gz(r-4.6-any)
rco_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rco/json (API)

# Install 'rco' in R:
install.packages('rco', repos = c('https://jcrodriguez1989.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jcrodriguez1989/rco/issues

Pkgdown/docs site:https://jcrodriguez1989.github.io

On CRAN:

Conda:

compilerfastgcchpcoptimizationoptimizer

6.73 score 82 stars 284 downloads 18 exports 0 dependencies

Last updated from:1df14992b7. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE150
source / vignettesOK223
linux-release-x86_64NOTE144
macos-release-arm64NOTE136
macos-oldrel-arm64NOTE159
windows-develNOTE95
windows-releaseNOTE102
windows-oldrelNOTE102
wasm-releaseOK150

Exports:all_optimizersgenerate_files_opt_reportgenerate_folder_opt_reportgenerate_text_opt_reportmax_optimizersopt_common_subexpropt_cond_threadopt_constant_foldingopt_constant_propagationopt_dead_codeopt_dead_expropt_dead_storeopt_loop_invariantopt_memory_allocoptimize_filesoptimize_folderoptimize_textrco_gui

Dependencies:

Common Subexpression Elimination
Idea | Background | Example | Implementation | To-Do

Last update: 2021-07-14
Started: 2019-07-05

Conditional Threading Optimizer
Background | Example | Implementation

Last update: 2021-07-14
Started: 2021-07-14

Constant Folding
Idea | Background | Example | Implementation | Floating-point precision | To-Do

Last update: 2021-07-14
Started: 2019-06-05

Constant Propagation
Idea | Background | Example | Implementation | VAR <- CONST | VAR * CONST + VAR | FUN({FUN_PARAMS}) | LOOP (COND) | IF (COND) | VAR <- EXPR | FUN ( | Other cases | To-Do | o @edits_env rm_all

Last update: 2021-07-14
Started: 2019-06-07

Dead Code Elimination
Idea | Background | Example | Implementation | Remove code after interruption commands | Remove constant conditionals

Last update: 2021-07-14
Started: 2019-06-08

Dead Expression Elimination
Idea | Background | Example | Implementation | To-Do

Last update: 2021-07-14
Started: 2019-07-10

Dead Store Elimination
Idea | Background | Example | Implementation | To-Do

Last update: 2021-07-14
Started: 2019-06-27

GSoC 2020 Final Report
My GSoC 2020 work in a nutshell | Humble Beginnings: | Post GSoC selection: | Getting up to speed: | Unexpected Turn of Events: | Conditional Threading Optimizer: | Unoptimized Code | Proposed Optimized Code | Benchmark | Memory Allocation Optimizer: | Pivot and Push: | Fixing a critical issue: | Call for Actions: | Acting on users' recommendations: | And, my GSoC '20 journey comes to an end:

Last update: 2021-07-14
Started: 2021-07-14

Loop-invariant Code Motion
Idea | Background | Example | Implementation | To-Do

Last update: 2021-07-14
Started: 2019-07-16

Memory Allocation Optimizer
Background | Example | Implementation | Limitations of the Optimizer

Last update: 2021-07-14
Started: 2021-07-14

Potential Optimizers
Potential optimizers | Inline Expansion | Idea | Code Examples | Unoptimized Code | Proposed Optimized Code | Benchmark | Memory Pre-Allocation | Vectorization | Efficient Column Extraction | Drawbacks | Efficient Value Extraction | Drawback

Last update: 2021-07-14
Started: 2021-07-14

Docker file
Installation | Usage

Last update: 2019-08-16
Started: 2019-06-11

Contributing an optimizer
Writing the code | Writing the tests | Writing the vignette | Writing additional files | DESCRIPTION | NEWS.md | R/optimizers.R | _pkgdown.yml

Last update: 2019-06-19
Started: 2019-06-19