fastdtw icon indicating copy to clipboard operation
fastdtw copied to clipboard

AddFirst now adds to the end of the index

Open FlorianLautenschlager opened this issue 9 years ago • 2 comments

AddFirst it is called multiple times and slow down the performance (ArrayCopy). AddFirst adds to the end of the index, AddLast to the top. So we only have to invert the index access. Everythings works and is times faster See.

FlorianLautenschlager avatar Feb 19 '16 13:02 FlorianLautenschlager

Thanks for the contribution, very nice of you and a good idea. I'll merge when I've had a better look from my laptop.

davidmoten avatar Feb 20 '16 03:02 davidmoten

Sorry this one slipped my mind, I'll have a look at it today if I can

davidmoten avatar Mar 03 '16 20:03 davidmoten