mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 12:51:51 +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
|
||||
%- crip
|
||||
%- zing
|
||||
%- zing ^- ^wall
|
||||
%- zing ^- (list ^wall)
|
||||
%+ turn wall
|
||||
|= t=tape
|
||||
"{t}\0a"
|
||||
^- ^wall
|
||||
~[t "\0a"]
|
||||
:: +internal-server-error: 500 page, with a tang
|
||||
::
|
||||
++ internal-server-error
|
||||
|
Loading…
Reference in New Issue
Block a user