Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

gps: source cache: memory cache optimization #1215

Merged
merged 2 commits into from
Sep 30, 2017
Merged

gps: source cache: memory cache optimization #1215

merged 2 commits into from
Sep 30, 2017

Conversation

jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Sep 23, 2017

What does this do / why do we need it?

This PR optimizes singleSourceCacheMemory.getAllVersions(), fixes a bug, and clears up an error-prone len(0) v.s. nil slice distinction.

This is the optimization that exposed the bug fixed in #1212, and is blocked by that change (but putting it up now provides some context). Edit: Unblocked.

Related to #431

@sdboyer sdboyer merged commit ac1a162 into golang:master Sep 30, 2017
@jmank88 jmank88 deleted the mem-cache-opt branch September 30, 2017 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants