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
match(objectType)
{
(ObjectType::ResourceMetadata): ResourceMetadata data [[inline]];
(ObjectType::TextureMetadata): TextureMetadata data [[inline]];
(ObjectType::TextureDesc): TextureDesc data [[inline]];
(ObjectType::DMMAnimationMetadata): DMMAnimationMetadata data [[inline]];
(ObjectType::RIDObject): UnknownObject data [[inline]];
(ObjectType::FileInfoMetadata): FileInfoMetadata data [[inline]];
(ObjectType::RIDList): RIDList data [[inline]];
(ObjectType::RIDListEntry): UnknownObject data [[inline]];
(ObjectType::BinaryBlobMetadata): BinaryBlobMetadata data [[inline]];
(ObjectType::MeshMetadata): MeshMetadata data [[inline]];
(ObjectType::MeshFormat): MeshFormat data [[inline]];
(ObjectType::BoundBox): BoundBox data [[inline]];
(ObjectType::ParticleSystemMetadata): ParticleSystemMetadata data [[inline]];
(ObjectType::MorphemePackMetadata): MorphemePackMetadata data [[inline]];
(ObjectType::HavokClothMetadata): HavokClothMetadata data [[inline]];
(ObjectType::RBFMetadata): RBFMetadata data [[inline]];
(ObjectType::MorphemeMetadata): MorphemeMetadata data [[inline]];
(ObjectType::SoundBankMetadata): SoundBankMetadata data [[inline]];
(ObjectType::CollisionPackageMetadata): CollisionPackageMetadata data [[inline]];
(ObjectType::RigidBodyInfo): RigidBodyInfo data [[inline]];
(ObjectType::ShapeInfo): ShapeInfo data [[inline]];
(ObjectType::SkeletonMetadata): SkeletonMetadata data;
(ObjectType::ExternalSourceMetadata): ExternalSourceMetadata data [[inline]];
(_): std::error(std::format("Unknown object type at {}", $));
}
my pattern slows to a crawl. My assumption is that this is because the hash is recalculated every time. I have switched back to hardcoded hashes, but it would be great if this was a viable approach
The text was updated successfully, but these errors were encountered:
Given the following code:
and the match case
my pattern slows to a crawl. My assumption is that this is because the hash is recalculated every time. I have switched back to hardcoded hashes, but it would be great if this was a viable approach
The text was updated successfully, but these errors were encountered: