yuanrongxi / razor

A google's congestion Control Algorithm
MIT License
352 stars 152 forks source link

减少无效 for 循环 #64

Closed pingcoool closed 4 months ago

pingcoool commented 4 months ago

remote_estimator_proxy.c 中,第 69 行的 SKIPLIST_FOREACH,其实可以在 num == MAX_IDS_NUM 时直接 break 掉的,避免每来一个 feedback 都全量遍历一遍。

yuanrongxi commented 4 months ago

fix