mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 09:24:41 +00:00
Introduces the BandedLCS function for efficient LCS scoring, supporting both scalar and SIMD implementations. Adds comprehensive unit tests, benchmarking utilities, and error handling for sequence constraints.
14 lines
362 B
Go
14 lines
362 B
Go
//go:build !goexperiment.simd
|
|
|
|
package obialign
|
|
|
|
const haveSIMD = false
|
|
|
|
// encodeBases and bandedLCSSIMD are never called without GOEXPERIMENT=simd
|
|
// (haveSIMD is false); they exist to keep the dispatcher uniform.
|
|
func encodeBases(ws *bandedLCSWorkspace, a, b []byte) {}
|
|
|
|
func bandedLCSSIMD(lA, lB, kmin, kmax int, ws *bandedLCSWorkspace) uint32 {
|
|
return 0
|
|
}
|