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
Currently, BytesStart will allocate a Vec<u8> the first time you push additional attributes for the element. That's unfortunate if you're emitting lots of BytesStart in a tight loop. It would be better if it was possible to re-use a BytesStart (specifically its internal Cow::Owned) across iterations. I think all that'd be needed would be two methods: set_name and clear_attributes:
Currently,
BytesStart
will allocate aVec<u8>
the first time you push additional attributes for the element. That's unfortunate if you're emitting lots ofBytesStart
in a tight loop. It would be better if it was possible to re-use aBytesStart
(specifically its internalCow::Owned
) across iterations. I think all that'd be needed would be two methods:set_name
andclear_attributes
:The text was updated successfully, but these errors were encountered: