flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > CISAM conversion |
Author |
|
vid 04 Apr 2007, 15:12
generally file conversion in ASM is same as in C.
You should profile your C application, find which part is taking most time, and rewrite it in assembly optimized for your specific purpose. |
|||
04 Apr 2007, 15:12 |
|
LocoDelAssembly 04 Apr 2007, 16:25
Quote:
And it takes 100 % CPU usage? The problem with files is that disks are not fast enough to get the CPU permanently busy, so if your current C program doesn't takes all the CPU time then I think it doesn't worth the efforts of writing an ASM version. |
|||
04 Apr 2007, 16:25 |
|
Indalecio 05 Apr 2007, 07:29
Thanks for the response guys.
Yes, the conversions are usually taking 100% of the CPU. The C programs used for this purpose are fully designed and optimized so I could probably start to identify what parts are taking most time, as you suggest. I´m not sure one can easily translate all CISAM specific commands to assembler, unless this can be found on the internet or if you´re good at analysing that kind of thing. I´ll probably do some search first. Any idea about the size of such a small project? Do you think such competence is beyond the average Assembler coder´s capacities? HTH Yann |
|||
05 Apr 2007, 07:29 |
|
vid 05 Apr 2007, 08:50
we don't know what exactly you do.
Do you call some 3rd party libraries to parse data ("CISAM specific commands")? If yes, then probably THESE are the speed critical parts. If entire transformation is just your code, what do you mean by "Cisam specific commands"? |
|||
05 Apr 2007, 08:50 |
|
Indalecio 05 Apr 2007, 09:19
We are using the isam.h library, which is heavily used for all programs using CISAM files, containing all commands to create/amend/delete a record in such files (property of Informix). Don't know if this answers your question though.
|
|||
05 Apr 2007, 09:19 |
|
vid 05 Apr 2007, 10:13
then i believe the part that eats most time is this library. You would probably have to rewrite parts of this library to speed things up
|
|||
05 Apr 2007, 10:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.