1. 05 Jan, 2011 2 commits
  2. 10 Nov, 2010 1 commit
  3. 02 Nov, 2010 2 commits
  4. 29 Oct, 2010 1 commit
  5. 13 Oct, 2010 1 commit
  6. 04 Oct, 2010 4 commits
  7. 17 Sep, 2010 1 commit
  8. 16 Sep, 2010 2 commits
  9. 15 Sep, 2010 1 commit
    • Mark Olesen's avatar
      ENH: added binary IO for PackedList and compact ASCII format · b7c85357
      Mark Olesen authored
      The compact ASCII format is a block of index/value tuples for the
      non-zero entries:
      
          { (index1 value1) (index2 value2) (index3 value3) }
      
      For PackedList<1>, and thus PackedBoolList, the compact ASCII format is
      a block of indices for the non-zero entries:
      
          { index1 index2 index3 }
      
      Thus either of the following could be used - for PackedList<2>:
      
        - a list of all values:
              16(0 3 0 2 0 0 3 1 0 0 0 0 0 0 0 1)
      
        - a block of index/value tuples:
              {(1 3) (3 2) (7 3) (8 1) (15 1)}
      
      For PackedList<1> and PackedBoolList, either of the following could be
      used:
      
        - a list of all values, using any valid bool representation:
              16(0 1 0 true 0 0 t 1 0 n n 0 0 0 0 yes)
      
        - a block of the indices for non-zero entries:
              {1 3 7 8 15}
      b7c85357
  10. 14 Sep, 2010 1 commit
  11. 27 Aug, 2010 1 commit
  12. 09 Aug, 2010 1 commit
  13. 28 Jul, 2010 2 commits
  14. 21 Jul, 2010 1 commit
  15. 15 Jun, 2010 1 commit
  16. 07 Jun, 2010 1 commit
  17. 08 Apr, 2010 1 commit
  18. 07 Apr, 2010 1 commit
  19. 06 Apr, 2010 1 commit
  20. 30 Mar, 2010 1 commit
  21. 29 Mar, 2010 1 commit
  22. 03 Mar, 2010 1 commit
  23. 27 Jan, 2010 1 commit
    • mattijs's avatar
      BUG: slicing of empty list · adc15181
      mattijs authored
      An empty list (m_) has no pointer so cannot be referenced. Instead we
      now return a null pointer (which is no problem for UList)
      adc15181
  24. 15 Jan, 2010 1 commit
  25. 14 Jan, 2010 1 commit
  26. 15 Dec, 2009 2 commits
  27. 08 Dec, 2009 2 commits
    • Mark Olesen's avatar
      HashSet and PackedList get an unset() method · d2d39c32
      Mark Olesen authored
      - provides a convenient (and lazy) means of removing entries
      d2d39c32
    • Mark Olesen's avatar
      Applied Mattijs' PackedList improvements · 16c715ce
      Mark Olesen authored
      - resize with factor 2 as per DynamicList
      
      Old insertion speed:
          1000000 in 0.61 s
          2000000 in 2.24 s
          3000000 in 3.97 s
          4000000 in 5.76 s
          5000000 in 7.54 s
          6000000 in 9.41 s
          7000000 in 11.5 s
      
      New insertion speed:
          1000000 in 0.01 s
          2000000 in 0.02 s
          3000000 in 0.01 s
          4000000 in 0.02 s
          5000000 in 0.01 s
          6000000 in 0.01 s
          7000000 in 0.01 s
      16c715ce
  28. 07 Dec, 2009 1 commit
  29. 02 Dec, 2009 1 commit
  30. 03 Dec, 2009 1 commit
    • Mark Olesen's avatar
      PackedBoolList specializaton for operator= · 063d8ede
      Mark Olesen authored
      - now that I re-examined the code, the note in commit 51fd6327
        can be mostly ignored
      
        PackedList isMaster(nPoints, 1u);
        is not really inefficient at all, since the '1u' is packed into
        32/64-bits before the subsequent assignment and doesn't involve
        shifts/masking for each index
      
        The same misinformation applies to the PackedList(size, 0u) form.
        It isn't much slower at all.
      
        Nonetheless, add bool specialization so that it is a simple assign.
      063d8ede
  31. 25 Nov, 2009 1 commit
    • Mark Olesen's avatar
      Lists get first() and last() member functions · b2d7439b
      Mark Olesen authored
      - this builds on Mattijs' commit 968f0bbd but with a first()
        as well.
      
      - Added both to FixedList, IndirectList, UIndirectList and *PtrList and
        since they can certainly be useful there. Did not add to BiIndirectList,
        since I'm not sure what it should mean there. Did not add to PackedList,
        since it's not clear how useful they'd be yet in these contexts (and I'm
        not sure how it would interact with the iterator proxy implementation).
      
      - Note: STL defines front() and back() for these methods.
      b2d7439b