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
@Eugeny could you share a snippet of code where clear() is causing slow zeroing of the buffer, and your proposed empty() doesn't, when building with optimizations?
From some quick testing, both optimize to the same asm code.
Currently there's no easy way to drain a
HistoryBuffer
without zeroing it.A simple function like this would come in handy in performance critical situations:
The text was updated successfully, but these errors were encountered: