feat: add blas/ext/base/clast-index-of-row#12029
Conversation
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_markdown
status: passed
- task: lint_package_json
status: passed
- task: lint_repl_help
status: passed
- task: lint_javascript_src
status: passed
- task: lint_javascript_cli
status: na
- task: lint_javascript_examples
status: passed
- task: lint_javascript_tests
status: passed
- task: lint_javascript_benchmarks
status: passed
- task: lint_python
status: na
- task: lint_r
status: na
- task: lint_c_src
status: missing_dependencies
- task: lint_c_examples
status: missing_dependencies
- task: lint_c_benchmarks
status: missing_dependencies
- task: lint_c_tests_fixtures
status: na
- task: lint_shell
status: na
- task: lint_typescript_declarations
status: passed
- task: lint_typescript_tests
status: passed
- task: lint_license_headers
status: passed
---
Coverage ReportNo coverage information available. |
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
|
@kgryte Here |
kgryte
left a comment
There was a problem hiding this comment.
Apart from the benchmarks, this is looking good.
You're right. I retract my comment. Thanks for pointing that out. |
| workspace = zeros( N, 'uint8' ); | ||
| abuf = uniform( N*N*2, -100.0, 100.0, options ); | ||
| A = new Complex64Array( abuf.buffer ); | ||
| xbuf = uniform( N*2, 200.0, 300.0, options ); |
There was a problem hiding this comment.
For the record, these benchmark values are not the best, as they are not actually testing the worst-case scenario, which is when the last N-1 values match for every row, but the first element on each row differs from the corresponding element in the search vector.
Deriving the worst-case scenario requires knowing implementation details, which is also not ideal.
We can get this in as is, but it is something you should keep in mind going forward when designing benchmarks. Trivial cases are not particularly interesting from a measurement perspective, as they don't actually give us much signal in terms of the implementation and its behavior.
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes. report:
Resolves stdlib-js/metr-issue-tracker#339.
Description
This pull request:
blas/ext/base/clast-index-of-rowRelated Issues
This pull request has the following related issues:
blas/ext/base/clast-index-of-rowmetr-issue-tracker#339Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
Primarily written by Claude Code.
@stdlib-js/reviewers