Skip to content
Snippets Groups Projects
Commit b56d4f4f authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

git_mapfile.save_map: stop sorting the keys entirely

There really is no point to this -- the sorting is expensive to compute and
the structure is never actually used.

For a mapfile with 1.5 million entries, this speeds up save_map from 3.6
seconds to 0.87.

This is probably the limit of the speedups we can get with pure-Python code.
Any further speedups will have to be made by rewriting these bits in C.
parent 8b51d737
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment