[Issue 3568] New: BitArray Indexing Should Use ulong

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 3 12:42:17 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3568

           Summary: BitArray Indexing Should Use ulong
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-12-03 12:42:15 PST ---
Given that the whole point of a BitArray is space efficiency so that you can
pack more into less memory, it seems silly to me that BitArrays are indexed by
size_t, thus arbitrarily preventing you from using more than 2^32 elements on
32-bit architectures.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list