Sujet : Re: ANN: Dogelog Player 1.2.3 (Time Conversion)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.pythonDate : 02. Nov 2024, 13:59:49
Autres entêtes
Message-ID : <vg57o4$c94r$2@solani.org>
References : 1
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19
Dogelog Player is a Prolog system written 100% in
Prolog itself. It features a library(aggregate), the
bread and butter of statistics. Unfortunately it
inherits some defects from its ancestors. We show
its bad performance in a Million Rows Challenge
and offer an alternative.
When calling the predicate sample/2 it will give
us values X1, .., Xn. And from this we can recompute
the mean and the standard deviation. We could get
rid of the horrendous memory footprint and gain
speed, in that we used an aggregate/3 bootstrapped
from a new library(util/hash).
See also:
Million Rows Challenge in Dogelog Player
https://twitter.com/dogelogch/status/1852601455544275090Million Rows Challenge in Dogelog Player
https://www.facebook.com/groups/dogelogMild Shock schrieb:
Dear All,
We are happy to announce a new edition of the Dogelog player:
- New atom_time/4:
The predicate sys_time_atom/3 is now officially
called atom_time/3. The underlying strftime() and
strptime() routines can represent more than just
local time. We therefore introduced atom_time/4
with an options list.
- Improved open/4:
The open/4 predicate and its HTTP client functionality
was removed from library(util/spin) and moved to
the core. In addition, open/4 can now return options
such as the final URL via uri/1 and the received
headers via fields/1.
- New http_server_close/1:
The HTTP server in library(util/spin) has undergone
some extensions. The asynchronous processing has been
improved, so that HTTP server set-up, HTTP client round
trip and HTTP server tear-down can be implemented in
the same application despite being single threaded.
Have Fun!
Jan Burse, 03.10.2024, https://www.xlog.ch/