<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=DA link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Oh please don’t go
there. Do you honestly think you (in general) are smarter at<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>generating microprocessor
instructions than a multi-million hour compiler software?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>If the execution speed is
acceptable, I will always prefer readability of the source code<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>over execution speed. I
don’t really care if some function can be executed 1ns faster if<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>several functions were collapsed
into one.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>If I could trade a 1
second added boot up time (~8 second total then?) for readable<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>ReactOS source code, I
would do it immediately ;-)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial;color:navy'>Casper</span></font></st1:City></st1:place><font size=2
color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>crashofurit<br>
<b><span style='font-weight:bold'>Sent:</span></b> 28. september 2005 17:22<br>
<b><span style='font-weight:bold'>To:</span></b> ReactOS Development List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [ros-dev] Re:
[ros-svn] [gdalsnes]18113:-reorderInsertXscendingOrder macro argument order
andupdate uses</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Using smaller functions
instead when we are only using the code once, may help on readability but can
cost speed and space. (Think of what standard code C uses
to enter and exit a function.) But then again, you can get around that by
using declaring those functions as inline. <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 9/28/05, <b><span style='font-weight:bold'>Casper
Hornstrup</span></b> <<a href="mailto:ch@csh-consult.dk">ch@csh-consult.dk</a>>
wrote:</span></font></span> <o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
> The alternative is: do the cleanup at every return, use goto or use<br>
> try/finally.<br>
> 1)Cleanup at every return is madness. Most functions in ros do a large <br>
> amount of cleanup at each return and I sometimes spot mistakes where<br>
> one/more return misses some cleanup. Those errors are _hard_ to find.<br>
<br>
The functions are too large then. Use more smaller functions instead. <br>
<br>
Casper<br>
<br>
<br>
_______________________________________________<br>
Ros-dev mailing list<br>
<a href="mailto:Ros-dev@reactos.com">Ros-dev@reactos.com</a><br>
<a href="http://reactos.com:8080/mailman/listinfo/ros-dev">http://reactos.com:8080/mailman/listinfo/ros-dev</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
<P>My DeviantArt.com page: <A href="<a
href="http://crashfourit.deviantart.com/">http://crashfourit.deviantart.com/"
</a>><a href="http://crashfourit.deviantart.com/">http://crashfourit.deviantart.com/</a></A><BR>My
FanFiction.net bio page: <A href="<a
href="http://www.fanfiction.net/u/726606/">http://www.fanfiction.net/u/726606/"
</a>><a href="http://www.fanfiction.net/u/726606/">http://www.fanfiction.net/u/726606/</a></A><BR>My
Blog: <A href="<a href="http://crashfourit.blogspot.com">http://crashfourit.blogspot.com"
</a>><a href="http://crashfourit.blogspot.com">http://crashfourit.blogspot.com</a></A><BR>America's
Debate: <A href="<a href="http://www.americasdebate.com/">http://www.americasdebate.com/"
</a>><a href="http://www.americasdebate.com/">http://www.americasdebate.com/</a></A>
</P> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>