Re: 2. The lower-level API (i.e.,
base) does not do bounds checking.
Re: 1. This should get inlined in modern engines. https://github.com/stdlib-js/stdlib/blob/develop/lib/node_modules/%40stdlib/ndarray/base/ctor/lib/compile_get.js
@rreusser For reference, you can find getter/setter benchmarks here: https://github.com/stdlib-js/stdlib/blob/8c3884542fd9b04dfc82ca8a12260e783cf70e96/lib/node_modules/%40stdlib/ndarray/base/ctor/benchmark/benchmark.js#L833
Inlined benchmarks are not included, but could be.
Heads-up for all those working on stdlib development atm. Currently a bug in one of our dev dependencies that is causing Markdown linting and example execution to fail. (see unifiedjs/unified-engine#41)
Until this is resolved, if you are committing Markdown files, you’ll need to use the
—no-verify Git command-line flag.
stdlib. I worked on it in the past (https://github.com/Planeshifter/kernel-smooth), and could prioritize bringing this functionality into
stdlib. May I ask you about the timeline when you would need to have a kernel regression package available?