Skip to content

An R package that wraps your code #10

@Jean-Romain

Description

@Jean-Romain

Hi,

I wrapped your C++ code into an package for the R language. See RcppConcaveman. Then I tried it and I compared it to the R package concaveman that is a wrapper to the original JavaScript code from mapbox using V8.

I found that the output of your implementation is different than the one from the original version. See image below. The read is the original one, the blue is yours

Rplot

Also I benchmarked it and I found that it was slower than the original JS code. See RcppConcaveman.

I'd like to have your opinion of these two points.

  1. Do you have an idea where the two implementations diverge?
  2. Do you have an idea where your implementation can be speed-up?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions