[CRTech] Christian Radio Tech [MSG 81880]
[Thread Prev] [-- Thread Index --] [Thread Next] [Date Prev] [-- Date Index --] [Date Next]
why i like assembly
To: CRTech <crtech@crtech.org>
Subject: why i like assembly
From: dave allen <crtech-mail@reyware.us>
Date: Fri, 26 Jan 2018 23:22:46 -0700
Content-language: en-US
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
had a routine written in 'c' to search for stuff in the ftp log on our linux server, which is currently going on 17Mb.

it was taking a 'long time' so i wrote it in assembly (intel). intel has a special instruction to look for chars. that helped.

old time was 1.415 sec. new time is 0.020 sec. 70 times faster. now i get the result as soon as i hit the Enter.

dave
Follow-Ups: Re: why i like assembly
(Willie Barnett <wbradiolists@gmail.com>, 29 Jan 2018 14:21:46 -0000)
Re: why i like assembly
(Lamar Owen <lowen@pari.edu>, 2 Feb 2018 22:12:43 -0000)
Prev by date: Paper PIF?
(Bill Hurne, 27 Jan 2018 01:00:51 -0000)
Next by date: Re: Paper PIF?
(Kevin Kidd, 27 Jan 2018 13:48:51 -0000)
Prev by thread: Re: Paper PIF?
(Kevin Kidd, 27 Jan 2018 13:48:51 -0000)
Next by thread: Re: why i like assembly
(Willie Barnett, 29 Jan 2018 14:21:46 -0000)
CRTech.org