2 ms·
The trick is to start the compilation when you start showing the comment box -- and only show the "reply" button once it's done. This way, for nearly all comme
by gknoy 14y ago
The trick is to start the compilation when you start showing the comment box -- and only show the "reply" button once it's done. This way, for nearly all comments, it will be done calculating before you are done commenting (this has already taken me more than 20 seconds!), and it retains its hard-to-spam properties.
- mikeash 14y agoMy comment box is always visible, but I don't start the computation until the user actually focuses one of the fields. The submit button is disabled until the hashcash computation completes, but that's about it. If you're not racing the hashcash computation, you'll likely not notice anything unusual.