<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can you do this faster with JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738614#M92007</link>
    <description>&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;What if the number of rows after replacement reaches 100 million?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Is it faster to replace with regular?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I find that the substitutions written this way are not as fast as the regular substitutions of the text editing software EmEditor.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 14:46:51 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2024-03-25T14:46:51Z</dc:date>
    <item>
      <title>How can you do this faster with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738573#M92001</link>
      <description>&lt;P&gt;Require these characters to be replaced with the result in the diagram&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;a href="/shiju/chuntian/"&amp;gt;A11&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/chongyangjie/"&amp;gt;C22&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/laoshi/"&amp;gt;D3&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/juhua/"&amp;gt;B0&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/libie/"&amp;gt;B1&amp;lt;/a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Explanation: This kind of data is very large.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-03-25_19-50-32.png" style="width: 855px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62601i63744265977CFE85/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-03-25_19-50-32.png" alt="2024-03-25_19-50-32.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I replaced slower with the following code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;tx=Substitute(tx,"&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href=\!"/shiju/","\!N","/\!"&amp;gt;","\!t");Set Clipboard( tx );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 12:23:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738573#M92001</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-03-25T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can you do this faster with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738599#M92006</link>
      <description>&lt;P&gt;What you want to do faster and what do you consider fast? The substitute part takes less than 10 microseconds&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

tx = "\[&amp;lt;a href="/shiju/chuntian/"&amp;gt;A11&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/chongyangjie/"&amp;gt;C22&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/laoshi/"&amp;gt;D3&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/juhua/"&amp;gt;B0&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href="/shiju/libie/"&amp;gt;B1&amp;lt;/a&amp;gt;]\";
s = HP Time();
Substitute(tx, "&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;a href=\!"/shiju/", "\!N", "/\!"&amp;gt;", "\!t");
e = HP Time();

Show(e-s);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:34:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738599#M92006</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-25T14:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can you do this faster with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738614#M92007</link>
      <description>&lt;P&gt;Thanks Experts!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;What if the number of rows after replacement reaches 100 million?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Is it faster to replace with regular?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I find that the substitutions written this way are not as fast as the regular substitutions of the text editing software EmEditor.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:46:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738614#M92007</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-03-25T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can you do this faster with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738615#M92008</link>
      <description>&lt;P&gt;JMP isn't specialized text editor software so maybe the functions haven't been optimized for that use (Substitute does a lot more than just replace text). Maybe you could call EmEditor through Run Program if it is fast enough for you (I still have no idea what is considered fast in this case or what is really the case).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:54:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-you-do-this-faster-with-JSL/m-p/738615#M92008</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-25T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

