[Issue 12060] New: Add ability to use dynamic array for `std.digest.*` as return type for hash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 2 03:40:05 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12060

           Summary: Add ability to use dynamic array for `std.digest.*` as
                    return type for hash
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ilya-stromberg-2009 at yandex.ru


--- Comment #0 from ilya-stromberg <ilya-stromberg-2009 at yandex.ru> 2014-02-02 03:40:03 PST ---
It can be useful for many cases. For example, it allows to avoid unnecessary
hash copy for Template API. Also, it can help to avoid unnecessary memory
allocation for OOP API. As little bonus, it lets to use `std.allocator` for
memory allocation.

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


More information about the Digitalmars-d-bugs mailing list