Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

use strings.Contains() instead of regex.Match() when populating HAL templates #46

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

oryband
Copy link

@oryband oryband commented Aug 12, 2019

This improves performances due to less complex string processing. Fixes stellar/issues/1446 . Please see the discussion in that issue for more information.

…emplates

This improves performances due to less complex string processing.

fixes stellar/issues/1446
@oryband oryband force-pushed the horizon-no-regex-in-populate-templated branch from 8294a6b to 52182ac Compare August 12, 2019 16:14
support/render/hal/link.go Show resolved Hide resolved
@oryband oryband merged commit 09c3e3a into master Aug 15, 2019
@oryband oryband deleted the horizon-no-regex-in-populate-templated branch August 15, 2019 09:05
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.

Horizon web request rate performance
2 participants