You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a program which uses a queue of bytes, with the bytes going in at one end in groups of 1-8 kB and coming out the other in groups of 4 bytes, or vice versa. I figured a deque would be a good data structure for this. However, I can't push or pop more than one byte at a time, so I'll have to use loops. Could you add append! and prepend! functions to Deque, a way to get a subscript range of a deque as a vector, and a way to delete multiple elements at once from either end of a Deque?
The text was updated successfully, but these errors were encountered:
I'm working on a program which uses a queue of bytes, with the bytes going in at one end in groups of 1-8 kB and coming out the other in groups of 4 bytes, or vice versa. I figured a deque would be a good data structure for this. However, I can't push or pop more than one byte at a time, so I'll have to use loops. Could you add
append!
andprepend!
functions to Deque, a way to get a subscript range of a deque as a vector, and a way to delete multiple elements at once from either end of a Deque?The text was updated successfully, but these errors were encountered: