Skip to content

openpgp: Avoid unnecessary heap allocations when creating UserIDs.

Neal H. Walfield requested to merge neal/init-userid into main
  • When creating a UserID, avoid unnecessary heap allocations by making better use of what we have. For example, we can directly convert a String to a Vec<u8> without allocating a Vec<u8>, and copying the contents.

Merge request reports