Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,200 of 4,675    |
|    Robert Prins to All    |
|    Re: Working Boyer-Moore search    |
|    08 Nov 20 00:16:37    |
   
   From: robert@nospicedham.prino.org   
      
   On 2020-11-07 08:56, Christian HannĂ© wrote:   
   > Better in asm, that would be multiple times faster.   
      
   I've converted the FreePascal version into assembler, and although it's likely   
   a   
   (fair) bit slower than the version on masm32, it works. At some stage I might   
   go   
   back to it and see if I can squeeze a few more nanoseconds out of it, but when   
   it comes back with 360 (all occurrences of "Oostende" in a 1.7Mb) file almost   
   at   
   the moment I release the Enter key, it's probably fast enough, and I expect   
   that   
   the RTF-ification, replacing the string to be replaced, the current year, with   
   "{\cf1\highlight2 2020}" in a 157Kb file will take rather a bit more time, I   
   have to think of a smart way of not moving that amount of data (or probably   
   half   
   of it) 92 times. Then again, moving a total of 15Mb is probably peanuts...   
      
      
   Robert   
   --   
   Robert AH Prins   
   robert(a)prino(d)org   
   The hitchhiking grandfather - https://prino.neocities.org/indez.html   
   Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca