Skip to content

rethink the pack/unpack implementation because of the stackoverflows #96

@xmonader

Description

@xmonader

Implement memory-efficient approaches to prevent stack overflows when handling large directory structures:

  • Rewrite the unpack function to use a fully iterative approach instead of recursion
  • Modify the pack function to use heap-allocated buffers instead of stack-allocated ones
  • Reduce buffer sizes to avoid large memory allocations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions