|
|||
Скачать Moves 1.0 - 16-bit Move Transfers Unit for TP.
12.06.1988 Moves.pas - Unit for 16-bit move transfers Makes a copy of one array of bytes to another. Overlapping is accounted for for. Both routines are about twice as fast the original TP move, because 16-bit transfers are used in lieu of the 8-bit. Move16 - replacement for TP move; Move16n - for intersegment moves which normalizes the pointers first. It is is needed for special applications for Pointers such as the heap when you need to make absolutely sure there is no overlap. It is used for either INTER- or INTRA-segment moves. The "n" stands for normalize which always makes the offset less than 16. Because it normalizes the pointers, it takes a little longer to get started.
The NumOfBytes at which these routine surpass the TP move routine for speed is 6 and 56 bytes respectively, after which, both get to be twice as fast. | |||
© 2009–2024 Russian Pascal Developer Network.
Техническая площадка: ISBIZ Хостинг |