Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Cythonise frequently used functions #79

Open
RealistikDash opened this issue Apr 26, 2021 · 0 comments
Open

Cythonise frequently used functions #79

RealistikDash opened this issue Apr 26, 2021 · 0 comments
Assignees

Comments

@RealistikDash
Copy link
Owner

Proposition

Frequently used functions that work with potentially decent amount of data (such as the dict -> gd str builders or http parsers) should be converted to Cython. This will provide a significant performance benefit with not a lot of work. Essentially free speed.

How will it work.

Cython works by converting near Python code into C, that can be compiled and ran. This grants it some of the benefits of a compiled language such as static typing and the prior mentioned speed. This will not affect I/O heavy operations as those are already asynced and gain no benefits from Cython as those mostly include waiting.

@RealistikDash RealistikDash self-assigned this Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant