Use vec! in oid! macro
#30
Reference in New Issue
Block a user
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
This pull request changes the
oid!macro to use thevec!macro rather than manually creating a vector and then pushing elements onto it one-by-one. Thevec!macro creates a vector that is already of the correct size avoiding unnecessary reallocations.Looks great, thanks!