Closed jmercouris closed 4 months ago
After some thought, I considered the two possibilities: (1) always sending event.preventDefault()
and (2) the approach proposed above.
Both require hacks. The former requires faking input events and the latter complicates the build process greatly.
As of today, and given the information I have, I'd lean on (1).
Even if we do simulate fake input events, the input will still be unbearably slow, so I think we should very carefully consider. It is easier to make a build process robust than to improve the speed of a socket.
Closed by #43.
The current method for doing synchronous socket communication is rather slow.
To remedy this we can use a C extension for Node.js to do synchronous socket reads rather than our sync-socket method.