* tower.c: Cache repeated lookups of a single tower element. This
authorBen Pfaff <blp@gnu.org>
Mon, 4 Jun 2007 01:29:08 +0000 (01:29 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 4 Jun 2007 01:29:08 +0000 (01:29 +0000)
commitde0ea5739d1b303ae5a2066802c84eaf55b42500
treee9135b8cfe33d4f643d00f2ad1476bdb8b56dad7
parent24b37bba66595150594008c350944a14ab654a52
* tower.c: Cache repeated lookups of a single tower element.  This
turns such lookups into O(1) operations without harming the big-O
of other operations.

* tower.h (struct tower): Add members for caching.
src/libpspp/ChangeLog
src/libpspp/tower.c
src/libpspp/tower.h