Avoid allocations by optimizing Frame
-------------------------------------
Key: LS-583
URL: http://dev.sourcefabric.org/browse/LS-583
Project: Liquidsoap
Issue Type: Improvement
Reporter: David Baelde
Currently Frame.content_of_type always create a content layer from scratch when
the current one does not have the right type. This could be improved, for
example by re-using arrays from previous layers (it's okay because that part of
the array is unused in other layers) and perhaps storing this already-created
content in the Frame for re-use in the next ticks. This would automagically
optimize operations such as drop (even if we generalize it to allow variable
arities). But we have to be careful, eg. regarding the interplay with
hide_content; hence I postpone to after 1.0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl