[Freeciv-Dev] [PATCH] Worklist performance fix
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
I profiled the client and found that has_capability() isn't cheap. The
profile showed put_worklist() and iget_worklist() at top
positions. The patch fixed this and also formats the methods properly.
If the problem resurfaces it may also be possible to tackle it in a
general way.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"- Amiga Y2K fixes (a bit late, wouldn't you say?)"
-- Linus Torvalds about linux 2.4.0 at 4 Jan 2001
worklist_performance.diff
Description: Text document
- [Freeciv-Dev] [PATCH] Worklist performance fix,
Raimar Falke <=
|
|