Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Sharing statics variable between Threads

by rodeo (Initiate)
on Sep 02, 2013 at 11:37 UTC ( #1051928=note: print w/replies, xml ) Need Help??


in reply to Re^3: Sharing statics variable between Threads
in thread Sharing statics variable between Threads

You are right, but is Perl effective and fast in sorting the data of the structure? There are functions to do it?
  • Comment on Re^4: Sharing statics variable between Threads

Replies are listed 'Best First'.
Re^5: Sharing statics variable between Threads
by BrowserUk (Pope) on Sep 02, 2013 at 11:59 UTC
    but is Perl effective and fast in sorting the data of the structure?

    Honorable monk Salva provides numerous functions that can sort just about any perl structure, in just about any way possible, (almost) as fast as C; with a simple and intuitive interface.

    So, yes. Perl can order your data in what ever way you require and save you scads of time.


    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051928]
help
Chatterbox?
[Corion]: Nicholas Clark++ # read for a multichar block-delimiter by scanning for the last char, and only then check whether the whole delimiter was read.
[Corion]: At least if you're appending the data read to a larger buffer, this means you avoid the situation of "a delimiter was found but the other half has not been read yet"
choroba misses the context
[Corion]: choroba: Optimizing how Perl reads source code on startup (and then processes it line-by-line)
[Corion]: But in general, it seems to be an interesting approach I should think about - whenever I'm searching for something, to consider if I could search for the end of the token instead of the start of the token

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2016-12-06 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (108 votes). Check out past polls.