summaryrefslogtreecommitdiff
path: root/spice_codegen.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-08 21:04:49 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2013-09-12 13:49:25 +0200
commit4857653686d3b4c8f96aebe5a96d3573ecc5d147 (patch)
treee068dd5a6d93d2e947554f2620719684cb063fd4 /spice_codegen.py
parent8db88d28543b2f147a9e5b4bf6b0e5b5eba1c1c9 (diff)
quic: precompute golomb codes
We can avoid repetitive computation by using two precomputed array, of 8k each. before: 1.79% lt-spicy-stats libspice-client-glib-2.0.so.8.4.0 [.] golomb_code_len_8bpc after: 0.79% lt-spicy-stats libspice-client-glib-2.0.so.8.4.0 [.] golomb_code_len_8bpc
Diffstat (limited to 'spice_codegen.py')
0 files changed, 0 insertions, 0 deletions