page417.html
来自「Data Structures And Algorithms With Obje」· HTML 代码 · 共 40 行
HTML
40 行
<HTML><HEAD><TITLE>Reduce, Reuse, Recycle</TITLE></HEAD><BODY bgcolor="#FFFFFF"> <a href="../index.html" target="_top"><img src="../icons/usins.gif" alt="Logo" align=right></a><b>Data Structures and Algorithms with Object-Oriented Design Patterns in Python</b><br><A NAME="tex2html5984" HREF="page418.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html5982" HREF="page416.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html5976" HREF="page416.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A> <A NAME="tex2html5986" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <BR><HR><H2><A NAME="SECTION0013110000000000000000">Reduce, Reuse, Recycle</A></H2><P>Modern societies produce an excessive amount of waste.The costs of doing so include the direct costs of waste disposalas well as the damage to the environment caused by the manufacturing,distribution, and ultimate disposal of products.The slogan ``<em>reduce, reuse, recycle</em>,''prescribes three strategies for reducingthe environmental costs associated with waste materials.<P>These strategies apply equally well to Python programs!A Python program that creates excessive garbagemay require more frequent garbage collectionthan a program that creates less garbage.Since garbage collection can take a significant amount of time to do,it makes sense to use strategies that decrease the cost of garbage collection.<P><BR> <HR><UL> <LI> <A NAME="tex2html5987" HREF="page418.html#SECTION0013110100000000000000">Reduce</A><LI> <A NAME="tex2html5988" HREF="page419.html#SECTION0013110200000000000000">Reuse</A><LI> <A NAME="tex2html5989" HREF="page420.html#SECTION0013110300000000000000">Recycle</A></UL><HR><A NAME="tex2html5984" HREF="page418.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html5982" HREF="page416.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html5976" HREF="page416.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A> <A NAME="tex2html5986" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <P><ADDRESS><img src="../icons/bruno.gif" alt="Bruno" align=right><a href="../copyright.html">Copyright © 2003</a> by <a href="../signature.html">Bruno R. Preiss, P.Eng.</a> All rights reserved.</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?