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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes