One good trick when trying to look for ways to optimize software is to stay away from areas that are very likely already quite well optimized, and instead focus on areas that might have been overlo…
Using sha1 as a dict hash, let alone for what seem like trusted values, sounds wild. Did someone over-index on the risk of collisions and fear the fallback to equality for large shaders?
Using sha1 as a dict hash, let alone for what seem like trusted values, sounds wild. Did someone over-index on the risk of collisions and fear the fallback to equality for large shaders?
score 1 · canonical