Skip to content
Snippets Groups Projects
  1. May 03, 2012
  2. May 02, 2012
  3. Apr 29, 2012
    • Konstantin Osipov's avatar
      Fix bug https://bugs.launchpad.net/tarantool/+bug/990728 · 39d92ffe
      Konstantin Osipov authored
      Fix bug https://bugs.launchpad.net/tarantool/+bug/990728
      "box.space:truncate() is a CPU hog".
      
      The old truncate algorithm would restart iteration
      from the beginning to delete every tuple.
      With HASH index it was especially slow, since
      it would have to skip more and more empty slots
      to find a non-empty slot for deletion.
      
      Rewrite the truncate() to walk linearly
      over all elements and delete them.
      
      This works both with HASH and TREE indexes.
      
      On the same token make truncate multipart-index
      aware (was missed in multipart-pk patch).
      Add a test for that.
      
      To work with multipart keys efficiently,
      implement tuple:slice(). A slice returns
      a linear set of fields from a tuple.
      Convenient to retreive a multipart key or
      tuple tail. Document tuple:slice().
      39d92ffe
  4. Apr 28, 2012
  5. Apr 27, 2012
  6. Apr 26, 2012
  7. Apr 25, 2012
  8. Apr 24, 2012
  9. Apr 23, 2012
  10. Apr 20, 2012
  11. Apr 17, 2012
  12. Apr 12, 2012
  13. Apr 09, 2012
  14. Apr 02, 2012
  15. Feb 24, 2012
  16. Feb 23, 2012
  17. Feb 22, 2012
  18. Feb 16, 2012
  19. Feb 09, 2012
Loading