Something strange happens when I do this:
unittest {
import std.array, std.string;
string s = "test";
//assert(s.toUpper.split("").join("-") == "T-E-S-T");
//"Memory allocation failed"
//[Finished in 26.5s]
//CPU: 1% -> 50% | 2.7GHz dual core
//RAM: 1.6GB -> 2.6GB | 1G
On Wed, Aug 07, 2013 at 09:10:04PM +0200, Borislav Kosharov wrote:
> Something strange happens when I do this:
>
> unittest {
> import std.array, std.string;
> string s = "test";
> //assert(s.toUpper.split("").join("-") == "T-E-S-T");
> //"Memory allocation failed"
> //[Finishe
On Wed, Aug 07, 2013 at 12:44:54PM -0700, H. S. Teoh wrote:
> On Wed, Aug 07, 2013 at 09:10:04PM +0200, Borislav Kosharov wrote:
> > Something strange happens when I do this:
> >
> > unittest {
> > import std.array, std.string;
> > string s = "test";
> > //assert(s.toUpper.split("").jo
On Wednesday, 7 August 2013 at 19:10:11 UTC, Borislav Kosharov
wrote:
Something strange happens when I do this:
unittest {
import std.array, std.string;
string s = "test";
//assert(s.toUpper.split("").join("-") == "T-E-S-T");
//"Memory allocation failed"
//[Finished in 26.5s]
On Wed, Aug 07, 2013 at 10:39:11PM +0200, John Colvin wrote:
> On Wednesday, 7 August 2013 at 19:10:11 UTC, Borislav Kosharov
> wrote:
> >Something strange happens when I do this:
> >
> >unittest {
> >import std.array, std.string;
> >string s = "test";
> >//assert(s.toUpper.split("").jo
On Wed, Aug 07, 2013 at 01:42:13PM -0700, H. S. Teoh wrote:
> On Wed, Aug 07, 2013 at 10:39:11PM +0200, John Colvin wrote:
> > On Wednesday, 7 August 2013 at 19:10:11 UTC, Borislav Kosharov
> > wrote:
> > >Something strange happens when I do this:
> > >
> > >unittest {
> > >import std.array, st
On Wednesday, 7 August 2013 at 19:10:11 UTC, Borislav Kosharov
wrote:
Something strange happens when I do this:
unittest {
import std.array, std.string;
string s = "test";
//assert(s.toUpper.split("").join("-") == "T-E-S-T");
//"Memory allocation failed"
//[Finished in 26.5s]
On Wednesday, 7 August 2013 at 19:10:11 UTC, Borislav Kosharov
wrote:
Something strange happens when I do this:
unittest {
import std.array, std.string;
string s = "test";
//assert(s.toUpper.split("").join("-") == "T-E-S-T");
//"Memory allocation failed"
//[Finished in 26.5s]