Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: best way to read and save long list of words

by davido (Cardinal)
on Apr 19, 2020 at 04:52 UTC ( [id://11115775]=note: print w/replies, xml ) Need Help??


in reply to Re^2: best way to read and save long list of words
in thread best way to read and save long list of words

I had considered earlier mentioning that if there's a list of words that may need to have additions once in awhile, DBD::SQLite isn't a bad alternative.

But then I couldn't put my finger on what problem we're solving for here. Optimizing disk usage? Optimizing read speed? I understand he's constructing a big regex out of the words, but is that even the best approach at solving whatever the problem is that's being solved? Maybe a SELECT would be useful? It's just a little hard to recommend an approach without understanding the objective.


Dave

  • Comment on Re^3: best way to read and save long list of words

Replies are listed 'Best First'.
Re^4: best way to read and save long list of words
by GrandFather (Saint) on Apr 19, 2020 at 05:41 UTC

    Indeed. That is why I suggested a "rethink". I strongly suspect we are helping to solve the wrong problem, but with the information we have even that is not clear.

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found