Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can PyTables be fast if it is written in an interpreted language like Python?

0
Posted

How can PyTables be fast if it is written in an interpreted language like Python?

0

Actually, all of the critical I/O code in PyTables is a thin layer of code on top of HDF5, which is a very efficient C library. Pyrex is used as the glue language to generate “wrappers” around HDF5 calls so that they can be used in Python. Also, the use of an efficient numerical package such as NumPy makes the most costly operations effectively run at C speed. Finally, time-critical loops are usually implemented in Pyrex (which, if used properly, allows to generate code that runs at almost pure C speeds).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.