Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

lazy parsing of info #24

Closed
brentp opened this Issue · 4 comments

2 participants

@brentp

often times, we'll filter variants on the quality or something.
I think it'd be nice to send the info to _Record as a string and
have .INFO be a property that parses the string on first access.

This could improve the speed.

@jamescasbon
Owner
@brentp

I will look at this when I have time. you don't need promise, you can just use a property

@property
def INFO(self):
    if not self._info: 
        self._info = _parse_info_string(self._info_string)
    return self._info
@brentp brentp referenced this issue
Closed

Cythonize parser #25

@jamescasbon
Owner
@jamescasbon
Owner

Closing as my profiling script indicates <0.1 % of time spent in this function. The real action is in #25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.