Fulanko / IntaRNA

Efficient target prediction incorporating accessibility of interaction sites
Other
1 stars 0 forks source link

[time] stable matrices vs dynamic resize #9

Closed martin-raden closed 5 years ago

martin-raden commented 5 years ago

https://github.com/Fulanko/IntaRNA/blob/08ba4ddae8efd985d024cbc0ec1ab86ce2638576/src/IntaRNA/PredictorMfe2dSeedExtension.cpp#L95

matrizen einmal ausserhalb mit maximale groesse erzeugen (resize).

dann beim fill nur soweit ausfüllen wie nötig (dazu nun doch maximal size mitgeben und nicht aus matrixdimension ableiten)

martin-raden commented 5 years ago

ggf einfach erstmal im resize call drittes argument auf preserve=false setzen