Opened 4 years ago

Closed 4 years ago

#4556 closed task (fixed)

bc-2.4.0

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 9.1
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 4 years ago

# 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.

comment:2 by Douglas R. Reno, 4 years ago

Owner: changed from lfs-book to Douglas R. Reno
Status: newassigned

comment:3 by Douglas R. Reno, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r11706

Note: See TracTickets for help on using tickets.