Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-90

block allocation using scratch buffers

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.0
    • Affects Version/s: None
    • Component/s: None

      When we read from the cache, we want to keep the buffer the exact right size so we don't waste memory. Right now, we allocate a scratch buffer then swap the contents, and that's going to waste memory because the scratch buffer might be quite a bit larger than necessary.

      Put a malloc call back into the read path.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: