Partial rollback of CompactString after benchmarking (or 'premature optimization is the root of all evil')
This commit is contained in:
@@ -493,7 +493,7 @@ impl DavAclHandler for Server {
|
||||
.get_principal_name(grant_account_id)
|
||||
.await
|
||||
.caused_by(trc::location!())?
|
||||
.unwrap_or_else(|| format_compact!("_{grant_account_id}"));
|
||||
.unwrap_or_else(|| format!("_{grant_account_id}"));
|
||||
|
||||
aces.push(Ace::new(
|
||||
Principal::Href(Href(format!(
|
||||
|
||||
@@ -294,7 +294,7 @@ impl PrincipalPropFind for Server {
|
||||
.get_principal_name(account_id)
|
||||
.await
|
||||
.caused_by(trc::location!())?
|
||||
.unwrap_or_else(|| format_compact!("_{account_id}"));
|
||||
.unwrap_or_else(|| format!("_{account_id}"));
|
||||
Ok(Href(format!(
|
||||
"{}/{}",
|
||||
DavResource::Principal.base_path(),
|
||||
|
||||
Reference in New Issue
Block a user