== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-09 00:33:16 +00:00
parent 357f20eb14
commit 7e0fc95c3a
26 changed files with 137 additions and 143 deletions

View File

@@ -597,11 +597,8 @@ namespace OpenSim.Groups
string giver = notice.noticeData.AttachmentOwnerID;
UUID attachmentUUID = notice.noticeData.AttachmentItemID;
if (attachmentUUID == null ||
attachmentUUID.IsZero() ||
giver == null ||
giver == UUID.Zero.ToString()
)
if (attachmentUUID == null || attachmentUUID.IsZero() ||
giver == null || giver == UUID.ZeroString )
return;
if (m_debugEnabled)