vibe-d / vibe.d

Official vibe.d development
MIT License
1.15k stars 284 forks source link

Clean up libasync driver module support #935

Open s-ludwig opened 9 years ago

s-ludwig commented 9 years ago

Follow up ticket for #814:

etcimon commented 9 years ago

Ultimately it would be good to use Phobos' types (with properly extended functionality) for both, vibe.d and libasync.

I've been holding this off because I'm working on a FreeListRef implementation of containers and a custom allocator red black tree, which will be used for the timers as well. Are you interested in adding the final size_t read(Vector!ubyte) to the streams? (where Vector uses a custom allocator). I think passing the allocator with the container would help minimize GC use