Skip to content

Commit a64aea8

Browse files
committed
Auto-generated commit
1 parent bcd888e commit a64aea8

4 files changed

Lines changed: 41 additions & 6 deletions

File tree

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

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-04-20)
8+
9+
<section class="commits">
10+
11+
### Commits
12+
13+
<details>
14+
15+
- [`9bd779b`](https://github.com/stdlib-js/stdlib/commit/9bd779b6861c3cd6eed1aead5cea15debc43407f) - **bench:** refactor to use string interpolation in `slice` [(#11590)](https://github.com/stdlib-js/stdlib/pull/11590) _(by Karan Anand)_
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+
- Karan Anand
30+
31+
</section>
32+
33+
<!-- /.contributors -->
34+
35+
</section>
36+
37+
<!-- /.release -->
38+
539
<section class="release" id="v0.2.3">
640

741
## 0.2.3 (2026-02-01)

benchmark/benchmark.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ var bench = require( '@stdlib/bench-harness' );
2626
var isArray = require( '@stdlib/assert-is-array' );
2727
var S = require( '@stdlib/slice-ctor' );
2828
var MultiSlice = require( '@stdlib/slice-multi' );
29+
var format = require( '@stdlib/string-format' );
2930
var pkg = require( './../package.json' ).name;
3031
var reducedDimensions = require( './../lib' );
3132

3233

3334
// MAIN //
3435

35-
bench( pkg+'::ndims=1', function benchmark( b ) {
36+
bench( format( '%s::ndims=1', pkg ), function benchmark( b ) {
3637
var values;
3738
var out;
3839
var i;
@@ -72,7 +73,7 @@ bench( pkg+'::ndims=1', function benchmark( b ) {
7273
b.end();
7374
});
7475

75-
bench( pkg+'::ndims=2', function benchmark( b ) {
76+
bench( format( '%s::ndims=2', pkg ), function benchmark( b ) {
7677
var values;
7778
var out;
7879
var i;
@@ -112,7 +113,7 @@ bench( pkg+'::ndims=2', function benchmark( b ) {
112113
b.end();
113114
});
114115

115-
bench( pkg+'::ndims=3', function benchmark( b ) {
116+
bench( format( '%s::ndims=3', pkg ), function benchmark( b ) {
116117
var values;
117118
var out;
118119
var i;
@@ -152,7 +153,7 @@ bench( pkg+'::ndims=3', function benchmark( b ) {
152153
b.end();
153154
});
154155

155-
bench( pkg+'::ndims=4', function benchmark( b ) {
156+
bench( format( '%s::ndims=4', pkg ), function benchmark( b ) {
156157
var values;
157158
var out;
158159
var i;
@@ -192,7 +193,7 @@ bench( pkg+'::ndims=4', function benchmark( b ) {
192193
b.end();
193194
});
194195

195-
bench( pkg+'::ndims=5', function benchmark( b ) {
196+
bench( format( '%s::ndims=5', pkg ), function benchmark( b ) {
196197
var values;
197198
var out;
198199
var i;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@stdlib/assert-is-array": "^0.2.3",
4444
"@stdlib/slice-ctor": "^0.2.3",
4545
"@stdlib/slice-multi": "^0.2.3",
46+
"@stdlib/string-format": "^0.2.3",
4647
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4748
"istanbul": "^0.4.1",
4849
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",

0 commit comments

Comments
 (0)