Enhance swap resolve performance #1293

Closed
jodastephen opened this Issue Aug 22, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@jodastephen
Member

jodastephen commented Aug 22, 2016

Swap performance can be enhanced through better resolving from SwapTrade to ResolvedSwapTrade.

@jodastephen jodastephen added this to the v1.1 milestone Aug 22, 2016

@jodastephen jodastephen self-assigned this Aug 22, 2016

jodastephen added a commit that referenced this issue Aug 22, 2016

Enhance swap performance
Resolve swap leg using new package scoped constructor
Avoids recalculating the currency of the swap leg
Use similar package scoped constructors elsewhere in swaps
Performance gain of around 18% on `SwapPricePerformance`
Fixes #1293

@cjkent cjkent closed this in #1294 Aug 22, 2016

cjkent added a commit that referenced this issue Aug 22, 2016

Enhance swap performance (#1294)
Resolve swap leg using new package scoped constructor
Avoids recalculating the currency of the swap leg
Use similar package scoped constructors elsewhere in swaps
Performance gain of around 18% on `SwapPricePerformance`
Fixes #1293

@cjkent cjkent removed the Status:InReview label Aug 22, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment