Andrea Bittau d23ca15a21 [DCCP] ACKVEC: Optimization - Do not traverse records if none will be found
Do not traverse the list of ack vector records [proportional to window size]
when we know we will not find what we are looking for.  This is especially
useful because ack vectors are checked twice:
1) Upon parsing of options.
2) Upon notification of a new ack.

All of the work will occur during check #1.  Therefore, when check #2 is
performed, no new work will be done.  This is now "detected" and there is no
performance hit when doing #2.

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-02 21:22:31 -08:00
..
2006-10-30 15:24:37 -08:00
2006-12-02 21:22:30 -08:00
2006-12-02 21:22:30 -08:00
2006-12-02 21:22:01 -08:00
2006-12-02 21:22:30 -08:00
2006-12-02 21:22:30 -08:00
2006-11-25 15:16:49 -08:00
2006-12-02 21:22:30 -08:00