Comments (3)
The two should be comparable in performance (see https://github.com/parsiad/mlinterp/blob/master/mlinterp/mlinterp.hpp#L94-L122), but I have not checked. It would be interesting to look at the assembly and/or benchmark, if you are up to it.
from mlinterp.
If I will test it, will let you know. Not very sure. Only point was about doing contiguous memory access for large arrays so that swaping doesn't affect performance. The good part is you have kept it configurable. And one more point are the interp methods MT safe?
from mlinterp.
Consider the following example:
interp(
nd, ni, // Number of points
zd, zi, // Output axis (z)
xd, xi, yd, yi // Input axes (x and y)
);
The only buffer that is written to is zi
. The other buffers (in this case, zd
, xd
, xi
, yd
, yi
) are read-only and can be shared among threads.
from mlinterp.
Related Issues (2)
- Linear Extrapolation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlinterp.