[Spice-devel] FIXME advice

Browning, Peter PEBROWNING at augusta.edu
Wed Mar 31 03:11:44 UTC 2021


Good evening,

I am attempting to address the FIXME in the spice-html5 wire.js class:

/*  FIXME - it would be faster to revise the processing code to handle
        **          multiple fragments directly.  Essentially, we should be
        **          able to do this without any slice() or combine_array_buffers() calls */

I am having difficulties understanding the code surrounding this however. I was hoping that I could get some advice or insight into the way the buffer and callback structure works. Specifically, how the process_message function processes data and how the requesting and needed functions interact. I am working to make optimizations to improve client side performance on low-end machines. Any insight or advice you can offer me would be of great help.

Best regards,

Peter Browning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20210331/dead5629/attachment.htm>


More information about the Spice-devel mailing list