Update numbers.

pull/35/head
David Wilson 7 years ago
parent 39e70fe50c
commit b70803a763

@ -42,12 +42,12 @@ write the IO and log forwarders, rewrite the module importer, move from
:py:func:`select.poll` to :py:func:`select.select`, and even refactor the :py:func:`select.poll` to :py:func:`select.select`, and even refactor the
special cases out of the main loop. special cases out of the main loop.
So there you have it. As of writing :py:mod:`econtext.core` consists of 528 So there you have it. As of writing :py:mod:`econtext.core` consists of 681
source lines, and those 528 lines have taken me almost a decade to write. I source lines, and those 681 lines have taken over a decade to write. I have
have long had a preference for avoiding infrastructure work commercially, not long had a preference for avoiding infrastructure work commercially, not least
least for the inescapable depression induced by considering the wasted effort for the inescapable depression induced by considering the wasted effort across
across the world caused by universally horrific tooling. This is my small the world caused by universally horrific tooling. This is my small contribution
contribution to a solution, I hope you find it useful. to a solution, I hope you find it useful.
Future Future

@ -2,7 +2,7 @@
Python Execution Contexts Python Execution Contexts
========================= =========================
**5KiB of sugar and no fat!** **6KiB of sugar and no fat!**
Introduction Introduction
@ -39,16 +39,18 @@ The package's main feature is enabling your Python program to bootstrap and
communicate with new copies of itself under its control running on remote communicate with new copies of itself under its control running on remote
machines, **using only an existing installed Python interpreter and SSH machines, **using only an existing installed Python interpreter and SSH
client**, something that by default can be found on almost all contemporary client**, something that by default can be found on almost all contemporary
machines in the wild. To accomplish bootstrap, econtext uses a single 500 byte machines in the wild. To accomplish bootstrap, econtext uses a single 600 byte
SSH command line and 5KB of its own source code sent to stdin of the remote SSH SSH command line and 6KB of its own source code sent to stdin of the remote SSH
connection. connection.
.. code:: .. code::
$ python preamble_size.py $ python preamble_size.py
SSH command size: 411 SSH command size: 576
Preamble size: 4845 (4.73KiB) Preamble size: 6360 (6.21KiB)
econtext.master size: 2640 (2.58KiB) econtext.master size: 4104 (4.01KiB)
econtext.ssh size: 295 (0.29KiB)
econtext.sudo size: 1210 (1.18KiB)
Once bootstrapped, the remote process is configured with a customizable Once bootstrapped, the remote process is configured with a customizable
**argv[0]**, readily visible to system administrators of the remote machine **argv[0]**, readily visible to system administrators of the remote machine

Loading…
Cancel
Save