DirectoryWatcher optimisation#1365
Conversation
There was a problem hiding this comment.
ref was replaced with out, because previous implementations contain dst.length = 0;
|
I don't remember how exactly the current API and semantics resulted, but I think we should go for an interface that can work without allocations. An obvious way to do this for the existing API would be to add a call to For a new API I'd either go straight with a range based interface (would have to use a range object), or simply use a scoped callback that accepts each change - probably the latter because it usually means less boilerplate code. The |
No description provided.