You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One quick solution would be to mirror backwardExtend as forwardExtend, move the computation of V[centerF + k] until after the bound checks, and call forwardExtend once the forwardStep loop is done.
Currently there are still some extensions computation that could be avoided. For instance, here
myers-1986/src/twoWayScan.js
Lines 47 to 53 in da6d7e5
The value of
V[centerF + k]
is not needed until the end of the forwardStep loop if thek - Delta
bound checks fail.The text was updated successfully, but these errors were encountered: