1. 25 Jan, 2018 1 commit
    • Mark Olesen's avatar
      ENH: allow early completion in PackedBoolList::used() · 7ee93afe
      Mark Olesen authored
      - can stop producing content when the target number of entries has
        been reached.
      
      - change return type to labelList instead an Xfer container.
        This allows return-value-optimization and avoids a surrounding
        allocation. This potentially breaks existing code.
      
      - make PackedList and PackedBoolList moveable. Drop xfer wrappers.
      7ee93afe
  2. 19 Nov, 2017 1 commit
  3. 07 Oct, 2017 1 commit
  4. 26 May, 2017 1 commit
    • Mark Olesen's avatar
      BUG: non-lazy PackedList (fixes #484) · dd54aa30
      Mark Olesen authored
      - The unset() method never auto-vivifies, whereas the set() method
        always auto-vivifies. In the case where set() is called with a zero
        for its argument - eg, set(index, 0) - this should behave
        identically to an unset() and not auto-vivify out-of-range entries.
      dd54aa30
  5. 17 Jan, 2016 1 commit
  6. 10 Jan, 2016 1 commit
  7. 14 Aug, 2011 1 commit
  8. 31 Mar, 2011 2 commits
  9. 19 Jan, 2011 1 commit
  10. 07 Jan, 2011 1 commit
  11. 05 Jan, 2011 2 commits
  12. 02 Nov, 2010 1 commit
  13. 04 Oct, 2010 1 commit
  14. 17 Sep, 2010 1 commit
  15. 16 Sep, 2010 1 commit
    • Mark Olesen's avatar
      ENH: better handling of resizing for PackedList bit-wise operators · ba896b69
      Mark Olesen authored
      - previously using an '|=' or '^=' would increase the list size to
        match the RHS. Now it only increases to last bit set.
      
      - limit bit-wise operations to addressable range for minor efficiency
        improvement
      
      - trim results from '&' and '^' operations for more consistent
        behaviour
      ba896b69
  16. 09 Aug, 2010 1 commit
  17. 28 Jul, 2010 1 commit
    • Mark Olesen's avatar
      ENH: Add PackedBoolList class (previously just a typedef) · e12581bf
      Mark Olesen authored
      ENH: adjust internal storage of PackedList to ensure that all unused
           internal storage elements are guaranteed to always be bit-wise
           zero. This makes the PackedBoolList implementation easier, and
           also greatly eases much of the book-keeping.
           Bits are now also zeroed on PackedList::clear()
      
      Note: in PackedList, require packing at least 2 items otherwise it is
           more efficient to use a normal list.
      e12581bf