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
There will probably be very few distinct mimetypes in the system, and we don't want to confuse a mimetype string with something else.
So, in values.rs, in the definition of Binary, we should use Id<MimetypeId> instead of String for the mimetype. This way, once issue #11 has landed, we'll benefit automatically from string caching.
The text was updated successfully, but these errors were encountered:
There will probably be very few distinct mimetypes in the system, and we don't want to confuse a mimetype string with something else.
So, in
values.rs
, in the definition ofBinary
, we should useId<MimetypeId>
instead ofString
for the mimetype. This way, once issue #11 has landed, we'll benefit automatically from string caching.The text was updated successfully, but these errors were encountered: