Re: Efficient Vector Comparison
- From: Yao Qi <qiyaoltc@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 23:39:45 +0800
"Jim Langston" <tazmaster@xxxxxxxxxxxxxx> writes:
"Yao Qi" <qiyaoltc@xxxxxxxxx> wrote in message
news:m34pks4g7i.fsf@xxxxxxxxxxxx
the
In our program, we will compare every two vectors. In current
implementation, we compare every element of that vector until we get
comparison result. It is not any more efficient way to do this?
b.t.w the length of vector is variable.
Comparing two vectors for what, equality?
Yes, but more than this. We have to compare two vectors to see if they
are equal or one is bigger or smaller than the other one.
Best Regards
--
Yao Qi <qiyaoltc@xxxxxxxxx> GNU/Linux Developer
http://duewayqi.googlepages.com/
.
- Follow-Ups:
- Re: Efficient Vector Comparison
- From: Pascal Bourguignon
- Re: Efficient Vector Comparison
- References:
- Efficient Vector Comparison
- From: Yao Qi
- Re: Efficient Vector Comparison
- From: Jim Langston
- Efficient Vector Comparison
- Prev by Date: Re: PCAT Compiler needed!
- Next by Date: Re: Efficient Vector Comparison
- Previous by thread: Re: Efficient Vector Comparison
- Next by thread: Re: Efficient Vector Comparison
- Index(es):
Relevant Pages
|