项目作者: dcirne

项目描述 :
Fast access to values in a data structure is paramount for high throughput systems. Here we explore how parsing and traversing a data structure may be a costly operation for systems processing large volumes of data. We examine two implementations. First, in pure Python. Second, a hybrid Python and C++ implementation interfaced using SWIG, where we can increase the performance by a factor of 4 or more; your mileage may vary. In either case we will see significant gains in performance by access values in a flat data structure, compared to traversing a nested one.
高级语言: Python
项目地址: git://github.com/dcirne/flatten.git
创建时间: 2021-06-25T21:37:25Z
项目社区:https://github.com/dcirne/flatten

开源协议:Apache License 2.0

下载