[vlc-devel] Enquiry about vlc_block.h
remi at remlab.net
Mon Jul 29 19:46:30 CEST 2019
Le perjantaina 26. heinäkuuta 2019, 23.31.01 EEST Amit Singh a écrit :
> My name is Amit Singh and I just wanted to know about block_t struct. My
> question is that why we are traversing block_t when we can store the
> pointer to the last node which could remove overhead of iterating over a
> linked list, is it because of size constraint ?
We do store the pointer to the last pointer in the block FIFO. It is only a
matter of practicality and laziness that it was not done for the block chain.
More information about the vlc-devel