Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 697
    • Issues 697
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • 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
  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !500

Strbuf as buffer

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Bitbucket Importer requested to merge branch/strbuf-as-buffer into branch/default Dec 08, 2016
  • Overview 8
  • Commits 29
  • Pipelines 0
  • Changes 21

Created originally on Bitbucket by plan_rich (Richard Plangger)

  • expose a raw_ptr for a resizable list for StringBuffer

This is a suboptimal solution, because it copies the whole buffer as soon as get_raw_address is called. What I would actually like to use is a function that yields an address of the property self.value in StringBuffer. However I think rpython string objects are movable which would require to pin the object.

Is there another way that would not require us to copy the buffer?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/strbuf-as-buffer