Skip to content

Commit e30da03

Browse files
committed
Comment out resources_get assertion because it adds measurable startup overhead
1 parent d3075c9 commit e30da03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mono/mono/metadata/bundled-resources.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ mono_bundled_resources_add (MonoBundledResource **resources_to_bundle, uint32_t
163163
dn_simdhash_ptr_ptr_try_add (bundled_resource_key_lookup_table, (void *)resource_to_bundle->id, key);
164164

165165
g_assert (dn_simdhash_ght_try_add (bundled_resources, (gpointer) key, resource_to_bundle));
166-
g_assert (bundled_resources_get (resource_to_bundle->id) == resource_to_bundle);
166+
// g_assert (bundled_resources_get (resource_to_bundle->id) == resource_to_bundle);
167167
}
168168

169169
if (assemblyAdded)

0 commit comments

Comments
 (0)