Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Need to speed up many regex substitutions and somehow make them a here-doc list

by LanX (Saint)
on Oct 03, 2022 at 12:26 UTC ( [id://11147230]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Need to speed up many regex substitutions and somehow make them a here-doc list
in thread Need to speed up many regex substitutions and somehow make them a here-doc list

First of all, please don't reply to different sub-threads in one post, this makes following the discussion much harder and is damaging your cause.

Secondly, it's unlikely that the speed of the regex-engine matters much if combined with the overhead to read those amounts of data. Processing data in RAM is now many magnitudes faster than file-systems.

Benchmarking the whole workflow might give you a new perspective.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^5: Need to speed up many regex substitutions and somehow make them a here-doc list

Replies are listed 'Best First'.
Re^6: Need to speed up many regex substitutions and somehow make them a here-doc list
by xnous (Sexton) on Oct 03, 2022 at 17:56 UTC
    First of all, please don't reply to different sub-threads in one post, this makes following the discussion much harder and is damaging your cause.

    Apologies, I scoured the FAQ on this and couldn't understand how to properly reply. And I was thoroughly baffled when my last reply wasn't listed under the initial node. I still can't understand how my reply ended elsewhere; if you don't mind me asking about the proper way to do it? Should I hit reply or comment on?

      Should I hit 'reply' or 'comment on'

      To clarify what LanX said: You use [comment on] if you want to reply to the top visible node of the thread you are currently reading. But you use [reply] next to a particular comment ("node", or what you might think of as a sub-post) if you want to reply to that node instead of the top node.

      Whichever of the links you choose, the forum will show the node you are replying to directly above your edit-the-new-post window, so you know where exactly in the conversation you are.

      So, when I am looking at your Re^6: Need to speed up many regex substitutions and somehow make them a here-doc list, I clicked on [comment on] to reply to your "Apologies" post -- and I can see the text of that post while I am creating my answer. (Once I [preview] my post, I lose that context and instead see the rendered version of my post above the editing box before [create]-ing it.) If I had wanted to contradict LanX directly, I could have clicked on [reply] next to his post in the threaded view (and in fact will be, soon).

        OK, now I get why it's confusing, after nearly 15 years I don't see that asymmetry between top node and sub-tree posts anymore.

        Would be more consistent if the "comment on" was renamed to "reply" too.

        update

        I.O.W. [comment on] is the [reply] for the top node of the displayed (sub-)tree.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

      [Comment on] on the bottom bar of the specific post you're replying to.

      This is a full threaded forum and every node of the tree will display the subtree of all specific replies. But the comments are always per node.

      If you're used to list oriented boards this might be confusing at first.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        In some situations, I disagree with the generic advice please don't reply to different sub-threads in one post, as there are times when the replies to each are essentially the same (either because both say essentially the same thing, or the narrative of your reply to one highly depends on the other); in such cases, I link to all the predecessors in my reply. But in a situation like this, where a user was doing three unrelated replies in one post, I do tend to agree with the generic advice given by LanX.

        (and xnous, I replied in this instance by using the [reply] next to LanX's post, because I was looking at your post at the "top" but wanted to reply to that response rather than directly to you.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found