mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
- Rewrite ReconstructPrimRecursively to use iterative stack-based traversal to avoid stack overflow for deeply nested prim hierarchies - Change ReconstructPrimNode output parameter from nonstd::optional<Prim> to std::unique_ptr<Prim> for move-friendly semantics (no Prim copies) - Use std::move when emplacing variantPrim to _variantPrims map - Add switchable macro TINYUSDZ_USE_ITERATIVE_RECONSTRUCT_PRIM (default on) - Rewrite StackVector in tiny-container.hh with proper small vector optimization - Add comprehensive unit tests for StackVector 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
346 B
C
12 lines
346 B
C
// SPDX-License-Identifier: Apache 2.0
|
|
// Copyright 2024 - Present, Light Transport Entertainment, Inc.
|
|
|
|
#pragma once
|
|
|
|
void stack_vector_basic_test(void);
|
|
void stack_vector_overflow_test(void);
|
|
void stack_vector_copy_test(void);
|
|
void stack_vector_move_test(void);
|
|
void stack_vector_iterator_test(void);
|
|
void stack_vector_complex_type_test(void);
|