1. 25 Apr, 2012 4 commits
    • Convert revwalk to use git_pool · da3b391c
      This removes the custom paged allocator from revwalk and
      replaces it with a `git_pool`.
      Russell Belfer committed
    • Convert attrs and diffs to use string pools · 19fa2bc1
      This converts the git attr related code (including ignores) and
      the git diff related code (and implicitly the status code) to use
      `git_pools` for storing strings.  This reduces the number of small
      blocks allocated dramatically.
      Russell Belfer committed
    • Implement git_pool paged memory allocator · 2bc8fa02
      This adds a `git_pool` object that can do simple paged memory
      allocation with free for the entire pool at once.  Using this,
      you can replace many small allocations with large blocks that
      can then cheaply be doled out in small pieces.  This is best
      used when you plan to free the small blocks all at once - for
      example, if they represent the parsed state from a file or data
      stream that are either all kept or all discarded.
      
      There are two real patterns of usage for `git_pools`: either
      for "string" allocation, where the item size is a single byte
      and you end up just packing the allocations in together, or for
      "fixed size" allocation where you are allocating a large object
      (e.g. a `git_oid`) and you generally just allocation single
      objects that can be tightly packed.  Of course, you can use it
      for other things, but those two cases are the easiest.
      Russell Belfer committed
    • config: also allow escaping outside of a quoted string · a7d19b97
      This limitation was a misparsing of the documentation.
      Carlos Martín Nieto committed
  2. 24 Apr, 2012 2 commits
  3. 23 Apr, 2012 2 commits
  4. 21 Apr, 2012 1 commit
  5. 20 Apr, 2012 1 commit
  6. 19 Apr, 2012 2 commits
  7. 17 Apr, 2012 4 commits
  8. 16 Apr, 2012 2 commits
  9. 15 Apr, 2012 1 commit
  10. 14 Apr, 2012 4 commits
  11. 13 Apr, 2012 10 commits
  12. 12 Apr, 2012 7 commits