[CRTech] Christian Radio Tech [MSG 81885]
[Thread Prev] [-- Thread Index --] [Thread Next] [Date Prev] [-- Date Index --] [Date Next]
Re: why i like assembly
To: CRTech <crtech@crtech.org>
Subject: Re: why i like assembly
From: Willie Barnett <wbradiolists@gmail.com>
Date: Mon, 29 Jan 2018 09:21:39 -0500
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Otf73Dx8khfbW5pENWWu8du3a3XGrrnlnF60H81+ydI=; b=VXzl/OH1BYDrU/YSJpct2z2mgkZPLey9b6W0KdZSB85d4+8MxhYxXfsXGcJUneKogu kvEVeXHeCQK1bebes/JkYKZ654RRNRRBM0ILDQcnfcN9gDS0WR/XbOEo4JBQ6vF28pBy AWymii6FSBLaD2JF2nztmRj2ZhCgdgd6QAIxRgk1wfWZ3JeNhtmliUeCd01uDXXxY4Je w3K/HMddvMZTvZvtD+yOZVogVW1r6IT9KYgxbbEdIedvRB8DjQujjr+6smZFzlU3SIyQ c75EEZdYeVUjYwbB9f08XGjeNa1AEYavNQTgmviwXRLKoQqjBAaMpXFwy/vpaEWBLIft m3Uw==
In-reply-to: <2d7c66e8-840d-579e-5547-1a8b5d86ab12@reyware.us>
References: <2d7c66e8-840d-579e-5547-1a8b5d86ab12@reyware.us>
That reminds me of when I first discovered the difference in speed between BASIC (on the Commodore VIC20) vs "Machine Language", back in the early 80's. I was blown away. :)

We are so spoiled, nowadays. ;)

Willie...


On Sat, Jan 27, 2018 at 1:22 AM, dave allen <crtech-mail@reyware.us> wrote:
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

---------------------------------------------------------------------
For CRTech resources visit http://CRTech.org/
To unsubscribe, e-mail: crtech-unsubscribe@crtech.org
List problems?  E-mail: TechStaff@CRTech.org


Follow-Ups: RE: why I like assembly
(Jon Foreman <Jon@ksgn.com>, 30 Jan 2018 18:57:13 -0000)
Re: why i like assembly
(Tom Beattie <tom@tombeattie.com>, 30 Jan 2018 20:29:23 -0000)
References: why i like assembly
(dave allen <crtech-mail@reyware.us>, 27 Jan 2018 06:22:53 -0000)
Prev by date: Malwarebytes Issue
(Steve Tuzeneu, 28 Jan 2018 18:45:49 -0000)
Next by date: Point to Point video Link with Remote Host
(Gullikson, Brian F, 29 Jan 2018 17:24:27 -0000)
Prev by thread: why i like assembly
(dave allen, 27 Jan 2018 06:22:53 -0000)
Next by thread: RE: why I like assembly
(Jon Foreman, 30 Jan 2018 18:57:13 -0000)
CRTech.org