R Project for Statistical Computing

Give a good example of "Loop-invariant Code Motion" optimizable code.

The idea behind this task would be to give a good example of (unoptimized) R code that could be optimized by the "Loop-invariant Code Motion" optimization technique.

This example might be added to the rco's documentation page. A new example must be added after the existing ones.

Create a pull request to the repository with your work, and provide the pull request link as a comment to the task.

Task tags

  • optimization
  • example

Students who completed this task

antsci, ZeroDawn.0D, programmingwizard

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • assessment Outreach / Research
close

2019