Slightly generalize case_to_values and case_from_values functions, and
[pspp] / src / libpspp / ChangeLog
index fa02a8b9406e8cf15741f23f618176770bdbbe3f..9e965630829ae180a53e91db9e02aff9b3f6d2a5 100644 (file)
@@ -1,7 +1,28 @@
 2007-06-03  Ben Pfaff  <blp@gnu.org>
 
+       Add ability for reverse iteration to tower code.
+       
+       * tower.c (tower_last): New function.
+       (tower_prev): New function.
+       (abt_to_tower_node): New function.
+       (first_node): Use abt_to_tower_node.
+       (last_node): New function.
+       (next_ndoe): Use abt_to_tower_node.
+       (prev_node): New function.
+
+2007-06-03  Ben Pfaff  <blp@gnu.org>
+
+       * 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.
+
+       * range-set.c (range_set_clone): New function.
+
        * array.c (insert_range): New function.
        (insert_element): New function.
+       (move_range): New function.
 
 2007-04-25  Ben Pfaff  <blp@gnu.org>