1. sequence speed
------=_NextPart_000_0007_01BFDDFC.9BBB3E60
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
what is faster and for how much:
1. to have one big sequence of text in which you insert text when user =
inputs text
2. to have sequence which has sequences of text, which are lines of =
text, and inserting text in line
i thought they were same fast
------=_NextPart_000_0007_01BFDDFC.9BBB3E60
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>what is faster and for how =
much:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>1. to have one big sequence of text in =
which you=20
insert text when user inputs text</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>2. to have sequence which has sequences =
of text,=20
which are lines of text, and inserting text in line</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>i thought they were same=20
------=_NextPart_000_0007_01BFDDFC.9BBB3E60--
2. Re: sequence speed
- Posted by Robert Craig <rds at ATTCANADA.NET>
Jun 24, 2000
-
Last edited Jun 25, 2000
Skoda writes:
> what is faster and for how much:
>
> 1. to have one big sequence of text in which you
> insert text when user inputs text
>
> 2. to have sequence which has sequences of text,
> which are lines of text, and inserting text in line
>
> i thought they were same fast
#2 will be faster since you are inserting into a
shorter sequence, and fewer characters will have
to be shifted around each time.
If you are doing some kind of editor, you'll probably
find the speed of updating the screen
to be a bigger concern.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com