okami.mom/albedo

git clone https://git.nkp.pet/okami.mom/albedo

nekomimi.petkernel: run the cell runtime from cached bytecode and precompile the packaged python9f86700

main
321 B10 linesraw
1"""Start a kernel: albedo_cells runs as __main__.
2
3A script is compiled from source each time it starts; a module loads its
4cached bytecode. The kernel is long, so this keeps about 4 MB of compile
5work out of every kernel's memory.
6"""
7
8import runpy
9
10runpy.run_module("albedo_cells", run_name="__main__", alter_sys=True)