• Eric Myhre's avatar
    Further condense test and bench content setup. · 2aa18a42
    Eric Myhre authored
    Again, checked for impact: it's in single-digit nanosecond territory.
    Fortunately, "assume the node escapes to heap" is already part of our
    intended model.  And while this function is probably too big to be
    inlined (I didn't check, mind), it's still dwarfed by our actual work
    (to the scale of two orders of mag base 10), so it's fine.
    2aa18a42
map_test.go 3.91 KB