stomp-rs icon indicating copy to clipboard operation
stomp-rs copied to clipboard

Don't detach Strings from Pool<String>

Open zslayton opened this issue 9 years ago • 0 comments

This was done to minimize refactoring required to release v0.10.0, which included auto-reconnect, reduced memory allocation and became usable from rustc's stable channel. However, the resulting code is a bit cluttered.

Instances of String in the Frame struct should be replaced with lifeguard's Recycled<String> type. This will allow all of the strings.attach(...) calls to be deleted.

zslayton avatar May 27 '15 03:05 zslayton