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

plumbing: format/index perf, buffered reads, reflection removal #1126

Merged
merged 2 commits into from
Apr 22, 2019

Conversation

saracen
Copy link
Contributor

@saracen saracen commented Apr 21, 2019

Large performance increase by buffering reads.

There were a few instances where binary.Read() would end up using reflection on &plumbing.Hash, rather than treating it as a byte slice. This has now been resolved.

@saracen saracen force-pushed the index-performance-improvements branch from 1ccc0fa to 5598068 Compare April 21, 2019 14:35
Large performance increase by buffering reads.

There were a few instances where binary.Read() would end up using reflection on
&plumbing.Hash, rather than treating it as a byte slice. This has now been
resolved.

Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
@saracen saracen force-pushed the index-performance-improvements branch from a9fbf5b to 7dcc710 Compare April 22, 2019 12:53
@saracen saracen force-pushed the index-performance-improvements branch from 7dcc710 to 262179b Compare April 22, 2019 17:07
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
@mcuadros mcuadros merged commit 7b3220f into src-d:master Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants