Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 675
    • Issues 675
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !687

Py3.6

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge bitbucket/merged-pr-687 into branch/py3.6 Dec 14, 2019
  • Overview 4
  • Commits 3
  • Pipelines 0
  • Changes 2

Created originally on Bitbucket by olliemath (Oliver Margetts)

Was already merged in Bitbucket before import, marked as merged by the import user

Improves the overall speed of adding datetimes to timedeltas as part of https://bitbucket.org/pypy/pypy/issues/2634/datetime-example-where-pypy3-is-30x-slower In conjunction with https://bitbucket.org/pypy/pypy/commits/8e5e71e this reduces the benchmark from ~390µs to ~16µs

It re-uses the add_timedelta code from pypy2 https://bitbucket.org/pypy/pypy/src/f1ac06bafd4534859584c75c9f3e03075b6fff91/lib_pypy/datetime.py#lines-1807 which was the least intrusive change I could make with a significant improvement in speed.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bitbucket/merged-pr-687