MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / getPy

Method getPy

js/decimation.js:754–754  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

752// avoid heap allocation pressure and GC pauses during the collapse loop.
753// The heap is 1-indexed (root at slot 1). Slot 0 is used as a scratch area
754// by pop() so the caller can read fields after popping.
755// pop() returns 0 (the scratch slot index) on success, or -1 if empty.
756const SOA_GROW = 1.5;
757class SoAHeap {

Callers 1

decimateFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected