Skip to content

Commit e90ed42

Browse files
committed
Auto-generated commit
1 parent 3c858fc commit e90ed42

File tree

4 files changed

+51
-13
lines changed

4 files changed

+51
-13
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
> Package changelog.
44
5+
<section class="release" id="unreleased">
6+
7+
## Unreleased (2026-03-03)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`a408eb8`](https://github.com/stdlib-js/stdlib/commit/a408eb86567546c9ff9da1fa330a77814ce0315c) - **bench:** refactor to use dynamic memory allocation in `blas/ext/base/dlinspace` [(#10642)](https://github.com/stdlib-js/stdlib/pull/10642) _(by Prajjwal Bajpai)_
16+
17+
</details>
18+
19+
</section>
20+
21+
<!-- /.commits -->
22+
23+
<section class="contributors">
24+
25+
### Contributors
26+
27+
A total of 1 person contributed to this release. Thank you to this contributor:
28+
29+
- Prajjwal Bajpai
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.1.1">
640

741
## 0.1.1 (2026-02-07)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
377377
[npm-image]: http://img.shields.io/npm/v/@stdlib/blas-ext-base-dlinspace.svg
378378
[npm-url]: https://npmjs.org/package/@stdlib/blas-ext-base-dlinspace
379379
380-
[test-image]: https://github.com/stdlib-js/blas-ext-base-dlinspace/actions/workflows/test.yml/badge.svg?branch=v0.1.1
381-
[test-url]: https://github.com/stdlib-js/blas-ext-base-dlinspace/actions/workflows/test.yml?query=branch:v0.1.1
380+
[test-image]: https://github.com/stdlib-js/blas-ext-base-dlinspace/actions/workflows/test.yml/badge.svg?branch=main
381+
[test-url]: https://github.com/stdlib-js/blas-ext-base-dlinspace/actions/workflows/test.yml?query=branch:main
382382
383383
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/blas-ext-base-dlinspace/main.svg
384384
[coverage-url]: https://codecov.io/github/stdlib-js/blas-ext-base-dlinspace?branch=main

benchmark/c/benchmark.length.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ static double rand_double( void ) {
9797
*/
9898
static double benchmark1( int iterations, int len ) {
9999
double elapsed;
100-
double x[ len ];
100+
double *x;
101101
double t;
102102
int i;
103103

104+
x = (double *) malloc( len * sizeof( double ) );
104105
for ( i = 0; i < len; i++ ) {
105106
x[ i ] = ( rand_double()*200.0 ) - 100.0;
106107
}
@@ -116,6 +117,7 @@ static double benchmark1( int iterations, int len ) {
116117
if ( x[ 0 ] != x[ 0 ] ) {
117118
printf( "should not return NaN\n" );
118119
}
120+
free( x );
119121
return elapsed;
120122
}
121123

@@ -128,10 +130,11 @@ static double benchmark1( int iterations, int len ) {
128130
*/
129131
static double benchmark2( int iterations, int len ) {
130132
double elapsed;
131-
double x[ len ];
133+
double *x;
132134
double t;
133135
int i;
134136

137+
x = (double *) malloc( len * sizeof( double ) );
135138
for ( i = 0; i < len; i++ ) {
136139
x[ i ] = ( rand_double()*200.0 ) - 100.0;
137140
}
@@ -147,6 +150,7 @@ static double benchmark2( int iterations, int len ) {
147150
if ( x[ 0 ] != x[ 0 ] ) {
148151
printf( "should not return NaN\n" );
149152
}
153+
free( x );
150154
return elapsed;
151155
}
152156

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"url": "https://github.com/stdlib-js/stdlib/issues"
4242
},
4343
"dependencies": {
44-
"@stdlib/assert-is-error": "^0.2.2",
44+
"@stdlib/assert-is-error": "^0.2.3",
4545
"@stdlib/blas-base-shared": "^0.2.1",
4646
"@stdlib/napi-argv": "^0.2.3",
4747
"@stdlib/napi-argv-bool": "^0.1.1",
@@ -51,21 +51,21 @@
5151
"@stdlib/napi-export": "^0.3.1",
5252
"@stdlib/strided-base-stride2offset": "^0.1.1",
5353
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.3",
54-
"@stdlib/utils-library-manifest": "^0.2.3",
55-
"@stdlib/utils-try-require": "^0.2.2"
54+
"@stdlib/utils-library-manifest": "^0.2.4",
55+
"@stdlib/utils-try-require": "^0.2.3"
5656
},
5757
"devDependencies": {
58-
"@stdlib/array-float64": "^0.2.2",
59-
"@stdlib/assert-is-browser": "^0.2.2",
58+
"@stdlib/array-float64": "^0.2.3",
59+
"@stdlib/assert-is-browser": "^0.2.3",
6060
"@stdlib/math-base-assert-is-nan": "^0.2.3",
61-
"@stdlib/math-base-special-pow": "^0.3.0",
62-
"@stdlib/random-array-discrete-uniform": "^0.2.1",
63-
"@stdlib/random-array-uniform": "^0.2.1",
61+
"@stdlib/math-base-special-pow": "^0.3.1",
62+
"@stdlib/random-array-discrete-uniform": "^0.2.2",
63+
"@stdlib/random-array-uniform": "^0.2.2",
6464
"proxyquire": "^2.0.0",
6565
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
6666
"istanbul": "^0.4.1",
6767
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
68-
"@stdlib/bench-harness": "^0.2.2"
68+
"@stdlib/bench-harness": "^0.2.3"
6969
},
7070
"engines": {
7171
"node": ">=0.10.0",

0 commit comments

Comments
 (0)