Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove immediate space pointers from VDBE #3713

Open
kyukhin opened this issue Oct 4, 2018 · 0 comments
Open

Remove immediate space pointers from VDBE #3713

kyukhin opened this issue Oct 4, 2018 · 0 comments
Labels
feature A new functionality refactoring Code refactoring sql
Milestone

Comments

@kyukhin
Copy link
Contributor

kyukhin commented Oct 4, 2018

In order to make VDBE portable and (possibly) to improve DDL performance,
let's remove immediate space pointers from VDBE.
This can be done as following:

  • Fix virtual registers range to hold pointers to systems spaces. While
    emitting code, keep track which system spaces are in use.
  • While emitting VDBE code, use free registers to refer to spaces,
    keep track, which registers refer to which spaces
  • At VDBE prologue: initialise those system spaces pointers, which
    are used in the code.
  • Also in prologue. Load space pointers into registers allocated during
    code emit.

Part of (or even supersedes) #3319

@kyukhin kyukhin added feature A new functionality refactoring Code refactoring sql labels Oct 4, 2018
@kyukhin kyukhin added this to the 2.1.1 milestone Oct 4, 2018
@kyukhin kyukhin self-assigned this Oct 4, 2018
@kostja kostja modified the milestones: 2.1.1, wishlist Nov 19, 2018
@kyukhin kyukhin removed their assignment Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality refactoring Code refactoring sql
Projects
None yet
Development

No branches or pull requests

2 participants