In my tests (2GHz P4 Linux, 5 minutes, no pre-existing replay cache), this gets about a 10% speedup adding entries to an already open replay cache. * rc_dfl.c (alive): Take a timestamp argument instead of the context, and don't check the current time here. All callers changed to pass in the current time. (rc_store): Take a timestamp argument. All callers changed to pass in the current time. To generate a diff of this commit: cvs diff -r5.69 -r5.70 krb5/src/lib/krb5/rcache/ChangeLog cvs diff -r5.42 -r5.43 krb5/src/lib/krb5/rcache/rc_dfl.c