Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Optimize Python Interface for Performance #53

Description

@Bonifatius94

Issue:

  • the costs of calling the Python C-API seem to outweigh all time savings of implementing chess functionality in C
  • therefore it might not make a lot of sense to expose the C code to Python at this fine-grained level anymore

Suggested Solution:

  • re-think the API interface such that it still makes sense to expose the lib to Python
  • consider options for generating larger training batches, e.g. play whole games with a single function call, add preprocessing to retain valid training batches right away
  • even think of implementing the whole AI in C/C++ via the TensorFlow C/C++ API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions