Commit 56f75bb3 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Remove a few performance problems and some dead code.

parent e208f3a5
1999-07-06 Per Cederqvist <ceder@gratia>
Remove a few performance problems.
* src/server/membership.c (access_perm_helper): New argument:
wanted_access. All callers updated. Avoid calling is_supervisor
or is_member if not needed.
(get_unread_confs): Minor performance improvement: there is no
need to call access_perm if pers_no is the logged-in person.
* src/server/simple-cache.c (copy_file): Use a static buffer
instead of allocating and releasing a buffer each time this
function is called.
Remove dead code.
* src/server/manipulate.h (IMPL): Unused macro removed.
* src/server/dbck-cache.c (IMPL): Unused macro removed.
* src/server/ram-parse.c (fparse_conference_2): Remove dead code
that depends on the long-obsolete DISKERR symbol.
(fparse_conference_0): Likewise.
(fparse_person_0): Likewise.
(fparse_person_2): Likewise.
(fparse_text_stat_2): Likewise.
(fparse_text_stat_0): Likewise.
1999-07-05 Per Cederqvist <ceder@gratia>
Speed up access_perm, is_supervisor and is_strictly_supervisor by
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment