You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the byte buffer exceeds a certain size, send the current bytes to the compression stream (using Compress.execute). The compressed bytes can be written to the file, and we can continue with emptied buffers. This removes the need for a monolithic allocation and compression call at the end.
The text was updated successfully, but these errors were encountered:
Currently, when running
format.swf.Writer
, at the end, a memory block the size of the entire swf file is allocated:format/format/swf/Writer.hx
Lines 1450 to 1452 in 318e49a
This can cause issues with large swfs, for example: openfl/lime#1307.
A possible better solution is to:
The text was updated successfully, but these errors were encountered: