[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Sat Apr 27 12:33:27 UTC 2019
New commits:
commit 0145ec3a62a1e084b805c21c6f5c6e310293ab58
Merge: b3eb094 59b6823
Author: Andrew Cagney <cagney at gnu.org>
Date: Sat Apr 27 08:25:50 2019 -0400
events: don't store per-state events in the event list - eliminate O(#STATES) delete
Instead:
- let delete_state() clean up per-state events; as was already
happening
- list per-state events by iterating over the states; since events are
ordered by state there's opportunity for prettier output
Merge commit '59b6823401d715da5f8fc232a8aa365d85d4aaad'
commit 59b6823401d715da5f8fc232a8aa365d85d4aaad
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Apr 26 12:00:42 2019 -0400
events: simplify event_schedule() et.al. - assume ST is non-NULL
commit 29a3e19e73c088cece09784522abda4a890d7e13
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 25 18:12:55 2019 -0400
events: don't redundantly store per-state events in the global event list
Eliminates O(#STATES) delete operation. List per-state events by
iterating over all states.
While an alternative would be to use a double-linked list, not using
the list at all seems better.
More information about the Swan-commit
mailing list