mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
eyre: faster wain-to-octs conversion
Avoid allocating hundreds of thousands of cells when giving large requests. This took the footprint of this function on initial landscape load from 1 second to 100 ms.
This commit is contained in:
parent
a1647a9767
commit
a777567bb6
@ -425,10 +425,12 @@
|
|||||||
:- ~
|
:- ~
|
||||||
%- as-octs:mimes:html
|
%- as-octs:mimes:html
|
||||||
%- crip
|
%- crip
|
||||||
%- zing
|
%- zing ^- ^wall
|
||||||
|
%- zing ^- (list ^wall)
|
||||||
%+ turn wall
|
%+ turn wall
|
||||||
|= t=tape
|
|= t=tape
|
||||||
"{t}\0a"
|
^- ^wall
|
||||||
|
~[t "\0a"]
|
||||||
:: +internal-server-error: 500 page, with a tang
|
:: +internal-server-error: 500 page, with a tang
|
||||||
::
|
::
|
||||||
++ internal-server-error
|
++ internal-server-error
|
||||||
|
Loading…
Reference in New Issue
Block a user