Results 49 comments of Marcello Bastéa-Forte

I have seen this occasionally as a cascade from a program error/exception. Can you reproduce it?

The while loop condition should handle that case.

The solution might be to move the emitting on [line 61](https://github.com/marcello3d/node-mongolian/blob/f1a6bdc547db1021321acc869d530ac05dda24d3/lib/connection.js#L61) to the bottom of that block. That way if the message handler throws an exception, the buffer is in...

This is very bizarre. I wonder why there is a performance difference, because if you look at the source for net.createConnection: ``` exports.connect = exports.createConnection = function(port /* [host], [cb]...

For kicks, is it possible that the order in which the listeners and commands are added is affecting the speed? Did you try using your new patch and literally inlining...

The problem with this approach is that V8 doesn't support Proxies, so there's no way to dynamically make db.posts act like db.collection("posts"). While I could get a list of collections...

So in summary. I agree that would be great, but I don't know how to do it.

While I don't want to make mongolian deadbeef dependent on native code (nor do I really want two different ways of doing the same thing), this _could_ probably be implemented...

Agreed. It'd be nice, but unfortunately impossible without changing how node works. :-(

There's a license file in the repo already. I think maybe your license checker is buggy? GitHub seems to recognize it with no issue. If there's something specific you need,...