slow down the operations of independent channels

I have a string of characters to about 40000 to code in HTML. The first problem is that HTML-code is not native to Actionscript, and I can not even find a simple HTML coder for (2 OR 3). It is fine, even if I can quickly make my own... The second problem is a loop with about 40000 iterations for takes about 15 seconds: for (i = 40000; I > = 0; i-) {}... .not acceptable.

Within the loop for what I was going to swap out of range of characters with HTML entities. As the loop is too slow, what other options do I have? Regular expressions? There is at least > 100 characters to check and their codes are simply the character code... How can I easily put it in a regular expression without including literally all the characters and their replacement values? Is there another way? Thank you.

for the non-ascii part, you can avoid a loop for and use:

s.Split("&").join("&#&;") .split (' ' ').join("&#';"). Split("<><;").split(">"). Join ("&#>;");

I don't know how intensive cpu which would be with a 40 k string, but it is worth a test.  If this test works well:

for the non-ascii characters, I would put everyone in an array and loop through that array using a split-join for each of them.  and you can add & ' <> in the table if this is equivalent so you can analyze concise your channel.

Tags: Adobe Animate

Similar Questions

  • FileVault slows down the operation of the computer somehow

    I'm concerned about the use of filevault can slow the operation of my computer. Is this a problem? And Carbon Copy clone work with filevault?

    I'm concerned about the use of filevault can slow the operation of my computer.

    A degradation in performance is normal only during the conversion, which can take several hours to a day or more depending on the amount of data that must be encrypted.

    After that, no.

    And Carbon Copy clone work with filevault?

    I think. Certainly, time Machine does. For a definitive answer about the CCC, please visit the developer.

  • SQlite operations slow down the user interface on OS 5 thread

    Hi guys,.

    No notices that DB operations slow down the UI thread? For the entire application is unresponsible, and sometimes all the devices. Is it because that the operations of SD card?

    Could someone RIM's comment on that?

    Thank you

    Eugen

    Chance I just update the latest news I've had experts at the BB dev Conference:

    The architecture of the JVM is designed expects until native calls completed. It is not true for all native calls, it is also greatly improved in OS 7 release.

    But it puts a light on the dark areas. If I know this information before I would try to check that much - much earlier and slow down question difficulty much - much easier.

    So guys, don't forget this info whenever you get the issue of users with OS 4.6 - 5.

  • Performance - remove igdkmd64.sys monitor - its by slowing down the boot process

    Hello

    I am running windows 7 Home premium SP1 64-bit and the monitor above suggests that I try to delete the driver above because it slows down the startup / boot process

    Can someone please suggest easy steps to remove the same and if there are implications for the removal of the driver

    Hello

    What is there to process you followed to remove it... It's actually not a bad file... Its graphic driver Intel. Igdkmd64 sys is the Intel Graphics Kernel Mode Driver for Microsoft Windows 8, Windows 7, Windows Vista, and Windows XP 64 - bit operating systems.

    the igdkmd64.sys file could be the driver Intel Graphics. Have you tried to download the drivers directly from the Intel web site? If this is not the case, try using this link:

    http://www.Intel.com/p/en_US/support/detect

  • How do I disable Adobe Flash - too many sites have Flash ads that slow down the browser unless an analysis.

    Some pages contain 3, 4, 5 or more adobe flash ads running at the same time, which slows down the browser a lot. Then, if you happen to have several tabs open, the browser is dragging virtually interrupted and many times is not responding at all.

    I would like to be able to choose whether or not a page can run flash content - not it be something that works all the time for each page, with the only option being to kill the plugincontainer process in taskmanager - who kills even the Adobe Flash elements you can watch; like a youtube video.

    Why is there not a way to disable Adobe Flash in the browser? I have updated Firefox and Adobe Flash, but nowhere is there at - it an option to turn on or off according to your needs.

    A control can be added to the Internet Options that you can set to have a page request before it is allowed to run the Flash content? Having that kind of control would GREATLY increase the pleasure of sailing on several pages.

    Any information on how to do it, would be appreciated.

    Hello, this is already possible in firefox: go to firefox/tools > addons > plugins and shockwave flash to Activategame. then the plugin will be disabled by default but can be enabled on a site-by-site basis.

  • Why FFx21, from the opening, thus creating three CACHE of INTERNET files duplicate (01, 02, 03 &amp; tot'ng 12 MB) slows down the site?

    On the 'OPENING' Firefox for the web, there is an initial use of 12 + MB of use via INTERNET CACHE files. These files show up, when using CCleaner, as... \_CACHE_001, 002, 003 each with a size of say 4 096 Ko. The browser seems to "lag" - particularly visible when I type in one of the available search bars... I tap and then wait for the letter or the word to display. In addition, Firefox crashed several times since the upgrade to the latest version (ffox 21). I have two images CCleaner printscreen to show files so useful, but not sure how to enter them here.

    Hello, these are the files where firefox stores its cache - you won't need CCleaner (in fact, it will be only slow down the things that you have already noticed, given that these files must be recreated after the next startup of the browser), you can also clear the cache with the mechanism built into firefox: How to clear the cache of Firefox

  • Can I use an SDXC (512MB) card as a drive hard primary (such as startup HD with El Capitan) on my iMac 5 K - end 2015? It will slow down the performance of the iMac?

    Can I use an SDXC (512MB) card as a drive hard primary (such as startup HD with El Capitan) on my iMac 5 K - end 2015? It will slow down the performance of the iMac?

    I did it with a 32GB SDHC UHS - I Transcend

    I do not recommend under OS X from such media, but it works very well. I was preparing for my review of the CPHA Yosemite and did not want to mess with the internal drive of OS X.

  • Slow down the automatic transition

    Hello!

    I'm working on an introductory presentation with automatic switching between slides. I want to slow down the presentation (I tried to put a 15 seconds delay) but it keeps on changing every second...

    Can someone help me?

    (I must say that my speech is in french... so I hope I used the right conditions...!)

    The procedure is:

    Select all of the slides in the Panel of the browser (click on a slide and then use: control)

    Inspector > Animation > add an effect of > select the effect in the list

    on the start menu, transition drop-down list box select automatically

    change the time of 15 seconds (double-click the entry, type in 15 and then on enter)

    This not work?

  • Slow down the Audio and keep beat related Sections

    Hello people,

    I have a song that I would like to remix and I all set beat matching.  When I go to slow down the audio I lose my bearings.  Is there anyway that I can keep the sections that I beat matched and slow down the audio so these sections remain?

    For example, that the song is 120bpm and I have this rhythm corresponded perfectly.  If I have a loop of 4 bars and slow down the audio I have more 4 perfect bars.  I want to be able to slow down the audio and still have my bars 4 faultless.

    I hope that makes sense.

    Logic Pro X: using Varispeed to change speed

  • Slow down the speed of FAR FAR AWAY in iMovie 10.1

    In iMovie 10.1 FAR FAR AWAY effect scrolls too fast and I don't think I should buy a market after effect fix a bug. How can I slow down the speed of the text please?  Roll the credits cost $20 and it will not work with updates so it is not an option, in addition to its construction in already, it is adjustable and now is not!  HELP PLEASE

    See that work around posted by Vanessa D 19 dec in this link

    Slow down the title Far Far Away in iMovie 10.1?

    I don't use version 10 so can't comment, but the link it seems to work.

  • is it possible to slow down the speed of scrolling text in the distance away from text generator?

    I'm trying to slow down the speed of text scrolling in the distance away from text generator.  Is it possible to make the text scrolls more slow?

    Stretch it to extend it.

  • Flex 2 network slows down the entire network

    I bought a Flex 2 a few weeks ago. Installed the software Office 365 and creative cloud by Adobe. Everything worked well on both networks, I connect to.

    Today, performance on the entire network is now gone to the dogs. At first, I suspected the provider or router so crossed all the routines of standard service (this disconnect, which reboot) again and again. Same face, deadly slow performance of several PC and Mac on the network.

    Then, I hit on the idea to close my Lenovo. Suddenly, network download speed of 2 MB/s and the ping from 2000 MS to more normal speeds returned.

    I restarted the Lenovo a couple of times, from 2, 4 GHz to 5 with the same result.

    At some point when I plugged the Lenovo directly into the modem (part of the diagnosis) direct speed seemed faster.

    Because the router works perfectly with all the other machines and I haven't changed a thing on it, and because the symptoms get carried away on the network when the Lenovo is cut, I can only assume that there is something to do with the Lenovo Flex 2 and how it communicates with the rest of the network.

    I should also add that I tried to plug an ethernet cable to make sure that it wasn't just a wireless thing. Still had the slow performance.

    I'm pulling my hair out over this, if I can't fix it, I can't work (no one in my office will be able to work) and will have to return the machine...

    Any ideas?

    Thank you...

    Thanks for the reply.

    After much pulling hair and analysis where the traffic was, it turns out it was a Microsoft cloud service a too aggressive drive that decided to download dozens of large files at the same time instead of in series. This excessive series of connections slowed down the rate of time and transfer of ping everything on the network. Disable updates for OneDrive during periods of work seems to have solved the problem.

    That said, working on this, I see that updates from Lenovo is continually a significant overhead. Do not understand why it takes so resources...

    Thanks again for the response...

  • Prevent the Beep.vi slow down the VI

    Hello

    I'm working on a metronome that should run for a period of x with a frequency of x. The time is in seconds and rate.

    Whenever there is the beet, the VI must make a beep. This can be done easily by the beep.vi, but the standard for the beep.vi is to play one system.

    This is a fairly long tone (10 of Windows). And so, I want to put my own frequency and duration of the beep.

    But when I change this in the beep.vi, the VI will wait for the set time (msec) before it continues the vi. If it slows down the whole VI.

    Is there a way to make the beep.vi a sound signal with frequency and duration that I put, without that it slows down the VI?

    Thank you!

    Have the code "beep" performed asynchronously to your hand VI: have the VI in another loop and use a queue / notifier to notify the loop when playing the main loop.

  • How to slow down the audio Windows Player speed, for language learning purposes?

    How to slow down the audio Windows Player speed, for language learning purposes?

    I assume you mean videos with speeches.

    1. start playback of the video.

    2 right click on the video then go it to improvements then the playback speed settings.

    You can control the speed of this Panel.

  • My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files

    My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files.

    Hello

    1 are. what type of files?
    2. when they are stored?

    3. What is the size of these compressed files?

    Try to perform the clean boot on the computer and check if that helps.

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    See the bottom of the articles that might help you resolve this problem.
    How to make a computer faster: 6 ways to speed up your PC
    http://www.Microsoft.com/atwork/maintenance/speed.aspx
    Slow PC? Optimize your computer for peak performance
    http://www.Microsoft.com/athome/Setup/optimize.aspx

Maybe you are looking for

  • My incoming mail messages "stuck" after a message large file download, so that no additional message charge

    I use Thunderbird to retrieve messages from a pop server. She usually works well, but sometimes as a result of an email with a large attachment, will only re - retrieve this message on a continuous loop, without having to download any other message.

  • The problem of Apple software update has stopped working

    The Apple software update program does not work after update to iOS 9.3 as seems. Apple software update server error message cannot be found. Check your internet settings and try again. My settings are fine Thank you

  • The site tells me your apple id is not an apple ID

    When I go in Help and support, and then I write my apple Id, he tells me this is not an apple ID and I am sure that I write it true

  • Satellite Pro A200 PSAE4E memory upgrade:

    Satellite Pro A200-PSAE4E: comes with sticks of memory 2 x 0.5 GB installed.I think that these are some DDR2?Please can anyone confirm this and advise the maximum memory I can install as I appreciate different formodels... but I can't find any inform

  • Basic Help Xcontrol

    Hi I'm new to xcontrols and trying to figure out how they work, I read a number of posts on the forum I thought I again, how they worked. Clearly I'm not. Take a new Xctl The façade has a control of the chain and U32 for debugging. The data type is t