Partial rollback of CompactString after benchmarking (or 'premature optimization is the root of all evil')

This commit is contained in:
mdecimus
2025-04-16 11:15:43 +02:00
parent d6dc6ee8c5
commit c5596fb656
189 changed files with 1318 additions and 1332 deletions

View File

@@ -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!(

View File

@@ -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(),