[asdf-devel] Make the CL syntax predictable

Anton Vodonosov avodonosov at yandex.ru
Fri Mar 14 20:01:35 UTC 2014


14.03.2014, 23:47, "Faré" <fahree at gmail.com>:

> Why this matters:
> http://fare.tunes.org/files/tmp/asdf/asdf3-2014.html#%28part._.Safety_before_.Ubiquity%29

You say "Creating a fresh copy of the standard readtable around each action is too expensive."

But why expensive? On CCL it takes 22 microseconds per readtable:

CL-USER> (time (dotimes (i 1000000) (copy-readtable)))
(DOTIMES (I 1000000) (COPY-READTABLE))
took 22,616,000 microseconds (22.616000 seconds) to run.
     10,355,591 microseconds (10.355590 seconds, 45.79%) of which was spent in GC.
During that period, and with 8 available CPU cores,
     19,905,727 microseconds (19.905727 seconds) were spent in user mode
      2,293,215 microseconds ( 2.293215 seconds) were spent in system mode
 1,952,000,061 bytes of memory allocated.



More information about the asdf-devel mailing list