$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] Regex.split on a string of 13, 000 newline-delimited filepaths (700kB) is prohibitively memory-intensive
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-09-15 02:03:47
On Monday 14 September 2009 Matthew Chambers wrote:
> Cool, thanks. I noticed that your first-pass patch with SPLIT worked on
> its arguments by reference instead of by value. Indeed, even something like:
> local foo = "bar,baz" ;
> local tokens = [ SPLIT , : $(foo) ] ;
> echo $(foo) ; # this outputs "bar baz" as a list, and it's equal to tokens
I was not aware of this behaviour.
>
> Is that behavior changed/fixed?
It's now fixed.
- Volodya