News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

SWAP$

Started by Ficko, November 30, 2009, 09:40:52 PM

Previous topic - Next topic

hutch--

> i think JJ has the right idea - swap pointers, instead

Thats fine if they are in an array of pointers, what about in a text file ?

Even better, use a 1 pass hash replace with only the swap words loaded in the hash table.  :bg
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

GregL

Quote from: jj... but these operations are very slow...

Geez jj, why are you so obsessed with speed?  So, if those operations are not super fast, we can't use them?  Bologna.  I think allocating new strings like that would be the best way to do it.  And they would be fine for general purpose procedures.