[Tutor] a FIFO with fixed capacity?

Alan Gauld alan.gauld at freenet.co.uk
Thu Mar 31 22:58:46 CEST 2005


> Would limiting the max capacity of the FIFO improve performance by
> allowing one to preallocate the FIFO buffer?

In a language like C it would help but in Python there's not much 
likliehood of advantage. BUt if you were writing a C module to 
integrate with Python then yes it might be an idea to allow the 
size to be set.

Alan G


More information about the Tutor mailing list