首页>
外国专利>
DYNAMIC REDUCTION OF STACK-OVERFLOW ERRORS IN A RECURSIVE DATA-SERIALIZATION ALGORITHM
DYNAMIC REDUCTION OF STACK-OVERFLOW ERRORS IN A RECURSIVE DATA-SERIALIZATION ALGORITHM
展开▼
机译:递归数据串行化算法中堆栈溢出错误的动态减少
展开▼
页面导航
摘要
著录项
相似文献
摘要
A data-serialization system initially uses a recursive serialization algorithm to serialize a hierarchy of nested data objects by translating those objects into a serial stream of data. The system determines that a stack-overflow error is likely to occur whenever the number of objects serialized by the system exceeds a threshold value, or whenever the stack has reached an unacceptable level of utilization. When the system determines that a stack-overflow error is likely or if the system detects that a stack-overflow error will definitely occur if another object is serialized, the system either transfers control to a nonrecursive algorithm that does not require a stack data structure or reduces stack utilization by transferring contents of the stack to a variable-size queue-like data structure.
展开▼