hello

hello,
does somebody has a fast asm function to do a Pos with PChars or array of bytes instead of strings? ( I want avoid the @uniquestring call each time)
For 64bit
for example PosBin(SubStr:TBytes; Source: Pointer; Index:UInt64);
thank you

Comments

  1. I make a simple MemoryManager with one Pool configured with no max memory to avoid the limit of 512 Kb or 1024 Kb (x64) in HeapAlloc and HeapReAlloc calls, in this way VirtualAlloc it call automatically for large memory block allocations.
    I re-test FastMM, BrainMM, ippMemoryManager and HeapMemoryManager with very similar results I would try tcmalloc to see if there is any differences

    ReplyDelete
  2. I wrote to the BrainMM author, actually it has a severe crash bug with 64bit code, so it's unusable. He told will correct it later this year.

    ReplyDelete
  3. hi Alexander, I did a small patch of RTL and MM using Intel LIBS, license permits to redistribute exclusively as DLL (cannot link inside exe), feel free to take a look www.dellapasqua.com; from my test using both libs MM and fillchar/copy/move the library is the fastest;
    perhaps can we enhance the IPP imports adding many useful function replacements?

    dellapasqua.com - Roberto Della Pasqua

    ReplyDelete

Post a Comment