[LLVMbugs] [Bug 11103] New: SetVector documentation needs to be updated WRT default data structures used.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 10 09:12:06 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11103

           Summary: SetVector documentation needs to be updated WRT
                    default data structures used.
           Product: Documentation
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: General docs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: michael at lunarg.com
                CC: llvmbugs at cs.uiuc.edu


(I tried sending an email to llvm-commits with this patch last month, but I
don't know if I was following the right process as I did not hear anything
back)

Since r33854, SetVectors have defaulted to size 16 SmallSets, but the
Programmer's Manual still says it uses an std:set. 

This brings it to a single malloc for the std::vector, so I'm not sure if it
should still be called "quite expensive", but I'll let someone else make the
call.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list