Opened 14 years ago

Closed 14 years ago

#191 closed enhancement (fixed)

Avoid unnecessary vector copying in kNNI and WeNNI

Reported by: Jari Häkkinen Owned by: Jari Häkkinen
Priority: minor Milestone: yat 0.3 (Public release)
Component: utility Version: trunk
Keywords: Cc:

Description

source:trunk/yat/utility/kNNI.cc at approximately line 60:

std::vector<std::pair<u_int,double> > distance=
	calculate_distances(mv_rows_[i]);

and source:trunk/yat/utility/WeNNI.cc at approximately line 55:

std::vector<std::pair<u_int,double> > distance=calculate_distances(i);

Change History (1)

comment:1 Changed 14 years ago by Jari Häkkinen

Resolution: fixed
Status: newclosed

(In [797]) Fixes #191. This is the best that can be done with the current design.

Note: See TracTickets for help on using tickets.