#HashMap for buffers, Or is there a better way to keep track of my buffers <ID,buffer>

4 messages · Page 1 of 1 (latest)

sly ingot
#

I am building an Applicaton that aggregates udp messages for multiple clients. My current solution is a map of timers and a map of buffers attached to the ID of the client. But I feel like there may be a better solution than maps.

glacial nimbusBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

sly ingot
#

And Ive actually changed the timer implementation to a Timing Wheel that stores its ID in a hashmap. Instead of the actual timer