spkenv/spk

Save some annotation value clones by adding lifetime AnnotationBuilder

Closed this issue · 0 comments

Save some annotation value clones by adding lifetime AnnotationBuilder.

From:

I might also suggest that this builder be generic over some lifetime for the string data, so that they don't need to be copied into this struct before building the buffer.

Originally posted by @rydrman in #815 (comment)