Jake Lishman 6/12/2020

Design draft: data structure specifications

Read Original

This article details design considerations for implementing new linear algebra data structures in QuTiP as part of a Google Summer of Code project. It explores a 'light' data structure strategy to minimize overhead, simplify dispatch methods, and maintain performance in both C and Python. Key topics include defining structures for C/Python interoperability, associated behaviors (unary, binary methods), and the trade-offs between lightweight (few attached methods) and heavy (more Pythonic) implementations.

Design draft: data structure specifications

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet