Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re^2: Thread sharing a bit vector??
in thread Thread sharing a bit vector??

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.

The start of some sanity?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://964652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found