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-09-28 17:53:59 -07:00
2006-10-21 19:55:22 -07:00
2006-12-02 21:22:15 -08:00
2006-09-28 18:02:58 -07:00
2006-12-02 21:22:27 -08:00
2006-12-02 21:22:27 -08:00
2006-11-05 14:11:25 -08:00
2006-11-21 17:33:01 -08:00
2006-12-02 21:21:18 -08:00
2006-08-05 21:15:58 -07:00
2006-12-02 21:21:23 -08:00
2006-12-02 21:21:24 -08:00
2006-07-12 13:58:59 -07:00
2006-10-01 00:39:19 -07:00
2006-12-02 21:21:16 -08:00
2006-12-02 21:21:08 -08:00
2006-11-30 05:24:39 +01:00
2006-09-22 14:53:34 -07:00
2005-04-16 15:20:36 -07:00