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
Struct deserialization should be improved to reduce the number of UTF-8 conversion checks.
Convert Read::identifier into an identifier_bytes method.
Validate string, comment, and preamble directly from the bytes using to_ascii_lowercase
Otherwise, perform UTF-8 validation (skipping if input is str).
Expose the raw bytes to any Deserialize impl so that if deserializing fields into a struct, the struct names can be compared against the raw bytes directly.
Implement Deserialize in an example or in the entry module. Since all standard biblatex entry keys fields are ascii and normalized to lowercase, comparisons can be done directly from bytes using to_ascii_lowercase.
The text was updated successfully, but these errors were encountered:
Struct deserialization should be improved to reduce the number of UTF-8 conversion checks.
Read::identifier
into anidentifier_bytes
method.string
,comment
, andpreamble
directly from the bytes using to_ascii_lowercasestr
).Deserialize
impl so that if deserializing fields into a struct, the struct names can be compared against the raw bytes directly.Deserialize
in an example or in the entry module. Since all standard biblatex entry keys fields are ascii and normalized to lowercase, comparisons can be done directly from bytes usingto_ascii_lowercase
.The text was updated successfully, but these errors were encountered: