Boost logo

Boost :

Subject: Re: [boost] [xint] Boost.Move vs Copy-on-Write timings
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-04 19:35:35


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/04/2010 02:10 PM, Mathias Gaunard wrote:

>>> I take [it] you don't support in-place expansion then.
>>> A shame.
>>
>> I wasn't aware that it was possible to use in-place expansion when
>> allocating memory via new.
>
> You allocate the memory with new? That severely restricts the library.
> You should use allocators.

That was recommended (I think by Jeffrey Hellrung again). I hadn't
looked into the implementation details yet, I've got a lot of internal
work to finish before I can restructure it that way.

> There are nice extensions to standard allocators that Ion Gaztañaga has
> made that allow two-way in-place expansion and shrinking.
> <http://www.drivehq.com/web/igaztanaga/allocplus/>

Noted. I'm not sure whether I can use it or not, but I'll certainly take
a look.

> I would have loved to see that in that kind of project, but of course,
> that's no more than a wish of mine.

One that may be granted. :-)
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvgr0cACgkQp9x9jeZ9/wQANACffBdulgTNtQD0OcoxZYCx5R8t
7pQAnjfBDIZkCFB1aKmAUXW0rzypBbcd
=+Vie
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk