Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Thread sharing a bit vector??by BrowserUk (Patriarch) |
on Apr 11, 2012 at 23:34 UTC ( [id://964652]=note: print w/replies, xml ) | Need Help?? |
Think your XS could alleviate my problem As it currently exists, it does not support the full range of operations you require. It could be extended to do so, but it would require some considerable effort to do so in a portable manner as it currently relies on Windows-specific memory management and MS Compiler intrinsic semantics. or do you think I just need to be more creative with how I manage thread-local data? I'm sorry to say that I don't believe that threads::shared is currently capable of doing what you need it to do. Because of that modules internal implementation, sharing large volumes of data across threads is not currently a viable option. The only viable solution to your description that I am aware of at this time would be to use a PostgreSQL DB and its BitString types & operators. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|