Skip to content
Snippets Groups Projects
Commit d94bc675 authored by Damien George's avatar Damien George
Browse files

py/compile: Optimise emitter label indices to save a word of heap.

Previous to this patch, a label with value "0" was used to indicate an
invalid label, but that meant a wasted word (at slot 0) in the array of
label offsets.  This patch adjusts the label indices so the first one
starts at 0, and the maximum value indicates an invalid label.
parent 44922934
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment