#4556: bc-2.4.0
--------------------+-----------------------
 Reporter:  bdubbs  |       Owner:  lfs-book
     Type:  task    |      Status:  new
 Priority:  normal  |   Milestone:  9.1
Component:  Book    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-----------------------

Comment (by bdubbs):

 # 2.4.0

 This is a production release primarily aimed at improving `dc`.

 * A couple of copy and paste errors in the [`dc` manual][10] were fixed.
 * `dc` startup was optimized by making sure it didn't have to set up
 `bc`-only
   things.
 * The `bc` `&&` and `||` were made available to `dc` through the `M` and
 `m`
   commands, respectively.
 * `dc` macros were changed to be tail call-optimized.

 The last item, tail call optimization, means that if the last thing in a
 macro
 is a call to another macro, then the old macro is popped before executing
 the
 new macro. This change was made to stop `dc` from consuming more and more
 memory
 as macros are executed in a loop.

 The `q` and `Q` commands still respect the "hidden" macros by way of
 recording
 how many macros were removed by tail call optimization.

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4556#comment:1>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to