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
The buffer currently concats all the source code into a single String and then write to disk, this creates a huge memory pressure because we have to constantly reallocate for this String,
It would be better to expose a better api to work with BufWriter, where we can balance memory + fs::write syscall.
The text was updated successfully, but these errors were encountered:
The current api is not memory friendly for
std::fs::write
:The
buffer
currently concats all the source code into a singleString
and then write to disk, this creates a huge memory pressure because we have to constantly reallocate for thisString
,It would be better to expose a better api to work with
BufWriter
, where we can balance memory +fs::write
syscall.The text was updated successfully, but these errors were encountered: