Motion - Improve Alg Draw Location
You are here:
Foswiki
>
Motion Web
>
ImproveAlgDrawLocation
(13 Aug 2005,
KennethLavrsen
)
Edit
Attach
Improve alg_draw_location()
Introduction
Avoid to calculate same values each time inside loops.
Description of Patch
This patch just does a little improvement of alg_draw_location() using temporary variable to store values that are computed each time in for() loops .
Installation of Patch
tar xfvz motion-3.2.1.tar.gz cd motion-3.2.1/ patch < ../alg.diff
Change History of Patch
alg.diff ver 1.0 , 28 May 2005
Use temporary variables to store the values used in for() loops instead of compute them in each loop.
Discussion and Comments
This patch in now in my sources for 3.2.2_snap1
--
KennethLavrsen
- 03 Jun 2005
PatchForm
edit
PatchStatus
ReleasedIncluded
PatchVersion
PatchSubmittedBy
AngelCarpintero
PatchHandledBy
KennethLavrsen
PatchForVersion
3.2.1
PatchDependencies
ScheduledForVersion
3.2.2
Attachments
1
Attachments
1
I
Attachment
Action
Size
Date
Who
Comment
diff
alg.diff
manage
2 K
28 May 2005 - 23:31
AngelCarpintero
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r5 - 13 Aug 2005,
KennethLavrsen
Motion
Log In
Welcome
Motion Web
Motion Home
Index
Motion Web Changes
Search
Webs
Application
Homeassistant
Kenneth
Lilliendalsvej
Main
Mixed
Motion
Music
Open2300
PWC
Sandbox
System
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (
read why
). Use the
Support Requests
page or join the
Mailing List
.
This website only use harmless session cookies. See
Cookie Policy
for details. By using this website you accept the use of these cookies.