@steveklabnik Often when I'm using crypto things. A sha256 is always 256 bits so I'll use a [u8; 32] :)
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
i don't but I'll use a slice and construct it on the stack
-
technically this is deref coercing an array but eh
End of conversation
New conversation -
-
-
when I want the data on the stack I use an array. A Vec if it is on the heap or needs to grow
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
really only when dealing with byte string slices since [ ] has Sized restrictions and isn't growable making it hard to use.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
When working with fixed-size data. Mostly for doing linear algebra and graphics programming (sending data to gpu as arrays).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
almost never
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.