Skip to content

Commit fcdafe5

Browse files
committed
Auto-generated commit
1 parent f8c45f9 commit fcdafe5

4 files changed

Lines changed: 19 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-11-05)
7+
## Unreleased (2025-12-25)
88

99
<section class="issues">
1010

@@ -24,6 +24,7 @@ This release closes the following issue:
2424

2525
<details>
2626

27+
- [`2473d1e`](https://github.com/stdlib-js/stdlib/commit/2473d1e0f513461c583c8eb3f7a256367b10f650) - **bench:** refactor to use dynamic memory allocation in `strided/base/dmskmap2` [(#9354)](https://github.com/stdlib-js/stdlib/pull/9354) _(by Omar Mohamed, Athan Reines)_
2728
- [`4d1c412`](https://github.com/stdlib-js/stdlib/commit/4d1c412c6e983f9076b3ec7f733d81893a398a39) - **chore:** fix C lint errors [(#8392)](https://github.com/stdlib-js/stdlib/pull/8392) _(by Geo Daoyu, Athan Reines)_
2829
- [`504a3f1`](https://github.com/stdlib-js/stdlib/commit/504a3f1d1db20b670b48efd1c292d7efbb433b58) - **style:** fix indentation in JSON files _(by Philipp Burckhardt)_
2930
- [`836170d`](https://github.com/stdlib-js/stdlib/commit/836170decec14309639deb41ae3a3c22256d68af) - **refactor:** update paths _(by Gururaj Gurram)_
@@ -40,11 +41,12 @@ This release closes the following issue:
4041

4142
### Contributors
4243

43-
A total of 4 people contributed to this release. Thank you to the following contributors:
44+
A total of 5 people contributed to this release. Thank you to the following contributors:
4445

4546
- Athan Reines
4647
- Geo Daoyu
4748
- Gururaj Gurram
49+
- Omar Mohamed
4850
- Philipp Burckhardt
4951

5052
</section>

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Mahfuza Humayra Mohona <mhmohona@gmail.com>
120120
MANI <77221000+Eternity0207@users.noreply.github.com>
121121
Manik Sharma <maniksharma.rke@gmail.com>
122122
Manvith M <148960168+manvith2003@users.noreply.github.com>
123+
Mara Averick <batpigandme@users.noreply.github.com>
123124
Marcus Fantham <mfantham@users.noreply.github.com>
124125
Matt Cochrane <matthew.cochrane.eng@gmail.com>
125126
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
425425
426426
-->
427427
428-
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
429-
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
428+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
429+
[chat-url]: https://stdlib.zulipchat.com
430430
431431
[stdlib]: https://github.com/stdlib-js/stdlib
432432

benchmark/c/benchmark.length.c

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,18 @@ static double add( const double x, const double y ) {
107107
* @return elapsed time in seconds
108108
*/
109109
static double benchmark( int iterations, int len ) {
110-
uint8_t m[ len ];
111110
double elapsed;
112-
double x[ len ];
113-
double y[ len ];
114-
double z[ len ];
111+
uint8_t *m;
112+
double *x;
113+
double *y;
114+
double *z;
115115
double t;
116116
int i;
117117

118+
m = (uint8_t *)malloc( len * sizeof( uint8_t ) );
119+
x = (double *)malloc( len * sizeof( double ) );
120+
y = (double *)malloc( len * sizeof( double ) );
121+
z = (double *)malloc( len * sizeof( double ) );
118122
for ( i = 0; i < len; i++ ) {
119123
x[ i ] = ( rand_double()*200.0 ) - 100.0;
120124
y[ i ] = ( rand_double()*200.0 ) - 100.0;
@@ -133,6 +137,10 @@ static double benchmark( int iterations, int len ) {
133137
if ( z[ i%len ] != z[ i%len ] ) {
134138
printf( "should not return NaN\n" );
135139
}
140+
free( m );
141+
free( x );
142+
free( y );
143+
free( z );
136144
return elapsed;
137145
}
138146

0 commit comments

Comments
 (0)