On 24/06/2009, at 1:00 PM, Erick Tryzelaar wrote:
>
> I've never done much with mmap, but I do know that llvm has cross
> platform bindings to the various mmap implementations.
Doesn't help, Linux mmap() has features not available on other
mmap. Windows also can do much more than standard mmap()
On Tue, Jun 23, 2009 at 7:43 PM, john
skaller wrote:
>
> using += grows the used size, up to the allocated maximum.
> After that I think C++ implementation throws an exception.
>
> To make one that grows like C++ vector, use something like:
>
> typedef rvarray = &varray;
>
> or a more OO version of
On 24/06/2009, at 12:23 PM, Erick Tryzelaar wrote:
> On Tue, Jun 23, 2009 at 7:16 PM, john
> skaller wrote:
>> Some fun with varray tests, tried this:
>>
>> var b = varray[int] 20ul;
>> println$ len b;
>>
>> iter println of (int) b;
>> b+= 22;
>> b+= 33;
>> iter println of (int) b;
>>
>> c:=
On Tue, Jun 23, 2009 at 7:16 PM, john
skaller wrote:
> Some fun with varray tests, tried this:
>
> var b = varray[int] 20ul;
> println$ len b;
>
> iter println of (int) b;
> b+= 22;
> b+= 33;
> iter println of (int) b;
>
> c:= map (curry sub of (int * int) 100) b;
> println c;
> ///
>
> and it
Some fun with varray tests, tried this:
var b = varray[int] 20ul;
println$ len b;
iter println of (int) b;
b+= 22;
b+= 33;
iter println of (int) b;
c:= map (curry sub of (int * int) 100) b;
println c;
///
and it worked!
varray(78, 67)
--
john skaller
[email protected]
--