GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add compiled backend · Issue #26 · python-variants/variants

Add compiled backend #26

New issue
Copy link
New issue
Copy link
Open
Open
Add compiled backend#26
Copy link
Labels
enhancement
Milestone
Feature Release

Description

@pganssle
pganssle
opened on Mar 6, 2018
Issue body actions

Given that we make pretty heavy use of decorators, I believe every layer of decoration adds additional function call overhead whenever the function is called.

We'll have to do some profiling (see #9) to see if this is a real concern, but if it is, it would probably help adoption if we added a compiled backend that allows us to minimize function call overhead by constructing function objects.

I think it might be preferable to do this CPython style where there is a compiled and a pure Python implementation that are kept in sync by the test suite. While that introduces some support burden keeping the two in sync, this is a small enough library (and is intended to be a "lightweight" dependency) that I think it's probably worth it.

Activity

  1. pganssle
    added
    enhancement
    on Mar 6, 2018
  2. pganssle
    added this to the Feature Release milestone on Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      • Feature ReleaseNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.