development release newLISP v.8.2.4
Posted: Fri Oct 22, 2004 2:07 pm
NOTE, deprecated 'collect, getenv, putenv' and 'environ' are completely eliminated from newlisp and examples, modules: httpd, cgi.lsp, sqlite.lsp.
All are replaced or collapsed to functions maintaining the same syntax, only names have to be changed. For details see the chapter about "Deprecated Functions" in the manual.
Other changes, which could prompt newLISP script changes are:
- net-error now returns error number and text separate in a list
- 'now' has added the daylight-savings-flag 0 or 1 as last parameter
- (new ...) now will not overwrite existing symbols, to allow true
mixins of other contexts. To overwrite symbols as before version
8.2.4 use the true as a third parameter i.e. (new A B true).
- the function 'push' is now optimized to handle pushing at the end of a list with index -1, as efficient as pushing in front of a list. This allows faster inplace list growing without pushing in front and then 'reverse'ing. This will also benefit the "Computer Shotoout" -list benchmark which beginning with version 8.2.4 can be written closer to the specification and will run even faster omitting the 'reverse'. This optimization will over time also find its way into other inplace list-modifying functions.
For the complete changelog with other changes, bug fixes and files see: http://newlisp.org/downloads/development/
Lutz
All are replaced or collapsed to functions maintaining the same syntax, only names have to be changed. For details see the chapter about "Deprecated Functions" in the manual.
Other changes, which could prompt newLISP script changes are:
- net-error now returns error number and text separate in a list
- 'now' has added the daylight-savings-flag 0 or 1 as last parameter
- (new ...) now will not overwrite existing symbols, to allow true
mixins of other contexts. To overwrite symbols as before version
8.2.4 use the true as a third parameter i.e. (new A B true).
- the function 'push' is now optimized to handle pushing at the end of a list with index -1, as efficient as pushing in front of a list. This allows faster inplace list growing without pushing in front and then 'reverse'ing. This will also benefit the "Computer Shotoout" -list benchmark which beginning with version 8.2.4 can be written closer to the specification and will run even faster omitting the 'reverse'. This optimization will over time also find its way into other inplace list-modifying functions.
For the complete changelog with other changes, bug fixes and files see: http://newlisp.org/downloads/development/
Lutz