Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] Can I use google sparsehash?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-05-31 13:34:52


El 31/05/2015 a las 15:06, Malko escribió:
> Hi,
> I thought I would find this question already answered on the internet or in
> previous posts in the mailing list, but my research is fruitless. Hence,
> since I am not proficient in the way of allocators, I will ask directly: is
> it possible to use google sparsehash with Boost.Interprocess?
> According to the info I found sparsehash can be faster than
> boost::unordered_map, and I could really use the additional speed.
>
> Thanks for the help!

I think it was never tested before, so my guess is that it won't work.
At least iterators can't be placed in shared memory because they store a
raw pointer.

Best,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net