[Issue 10379] std.string.translate (and others) for a Range of characters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 17:20:42 PDT 2013


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



--- Comment #2 from bearophile_hugs at eml.cc 2013-06-17 17:20:41 PDT ---
(In reply to comment #1)

> I'm not sure about the use-cases though.

My request is about a translate (and other string functions) that works on a
range of characters. Extending it to other kinds of data is possible, but
fulfils different uses cases.

Regarding my use case, if you have a very long string (multi megabytes) and you
want to apply several string functions on it, every time they generate an
intermediate very large string. This sometimes requires lot of memory. When
there are even large streams of textual data you may not even have enough space
to keep it whole in memory. In such cases I'd like lazy string functions.

-- 
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