Commit Graph

15 Commits

Author SHA1 Message Date
tidwall 7a03219ad6 Avoid allocation 2020-01-07 10:09:15 -07:00
tidwall 99e633d2ce Reuse connection output page
Avoid the extra allocations for every Data event by hanging onto
the existing connection page when possible.
2020-01-07 09:51:49 -07:00
tidwall ea610eff86 Fixed hang on detach closed 2018-11-05 11:58:07 -07:00
tidwall 3a190d6d20 Added Wake to connection 2018-10-17 04:38:38 -07:00
Josh Baker e74aca3b5a Added PreWrite 2018-05-26 07:06:27 -07:00
Josh Baker dd88755b17 Added multithreaded support
It's now possible to fire up multiple event loops in separate
goroutines. All that's needed is to set the `events.NumLoops` options
before calling `Serve`.

There are a few breaking API changes.

- The events pass an evio.Conn param that represents the unique
incoming socket connection.
- Prewrite and Postwrite events have been removed.
- Wake and Dial functions have been removed.
- The Transform utility has been removed.

The older version has been tagged as `v0.1.0` for vendoring purposes.
2018-05-23 16:49:45 -07:00
Josh Baker da1895587a single proc 2017-11-03 13:22:31 -07:00
Josh Baker 6a86476275 benchmarks 2017-11-02 18:31:36 -07:00
Josh Baker 99cbc8cb19 license message 2017-11-02 08:08:18 -07:00
Josh Baker 70e0b0ee53 don't use stdin for fd 2017-11-02 05:03:54 -07:00
Josh Baker c786acc971 better coverage 2017-11-01 17:36:35 -07:00
Josh Baker b304b5f216 translator 2017-10-31 17:44:57 -07:00
Josh Baker 7b0ac89cd2 wip translators 2017-10-30 14:02:10 -07:00
Josh Baker 3c262df83c wip addr 2017-10-29 13:09:40 -07:00
Josh Baker 74c1ecc501 rename 2017-10-28 14:58:59 -07:00