4 ms·
Usually, just checking for access patterns and data structure (like not using a set where it should be). Also, avoiding code that has pointers to many small pi
by jiehong 2y ago
Usually, just checking for access patterns and data structure (like not using a set where it should be).
Also, avoiding code that has pointers to many small pieces everywhere in memory and lead to a bad cache misses score.
Finally, just good old profiling.