Thread overview
[Issue 12107] New: Add ability to use dynamic array for `std.stdio.File.byChunk` as return type for chunk
Feb 08, 2014
ilya-stromberg
Feb 24, 2014
Nick Treleaven
February 08, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12107

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


--- Comment #0 from ilya-stromberg <ilya-stromberg-2009@yandex.ru> 2014-02-08 06:33:38 PST ---
It can be useful for many cases. For example, it allows to avoid unnecessary chunk copy if I already have a buffer. 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: -------
February 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12107


Nick Treleaven <ntrel-public@yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntrel-public@yahoo.co.uk


--- Comment #1 from Nick Treleaven <ntrel-public@yahoo.co.uk> 2014-02-24 08:32:32 PST ---
I think this is the same as bug 4859.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 24, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12107


monarchdodra@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |monarchdodra@gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from monarchdodra@gmail.com 2014-02-24 10:27:24 PST ---
Yeah, Andrei resolved this (4859) for 2.065. You should try the beta, and confirm it's what you want. I'll close this as resolved duplicate, but feel free to reopen if it's not what you wanted.

*** This issue has been marked as a duplicate of issue 4859 ***

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