[#SaltedOutpointHasher-operator_call]
= xref:SaltedOutpointHasher.adoc[SaltedOutpointHasher]::operator()
:relfileprefix: ../
:mrdocs:

Having the hash noexcept allows libstdc&plus;&plus;&apos;s unordered&lowbar;map to recalculate the hash during rehash, so it does not have to cache the value&period; This reduces node&apos;s memory by sizeof(size&lowbar;t)&period; The required recalculation has a slight performance penalty (around 1&period;6%), but this is compensated by memory savings of about 9% which allow for a larger dbcache setting&period;

== Synopsis

Declared in `&lt;util&sol;hasher&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
operator()(xref:COutPoint.adoc[COutPoint] const& id) const noexcept;
----

== Return Value

The salted SipHash of the outpoint&apos;s hash and index&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| The outpoint to hash&period;
|===

== See Also

https&colon;&sol;&sol;gcc&period;gnu&period;org&sol;onlinedocs&sol;gcc&hyphen;13&period;2&period;0&sol;libstdc&plus;&plus;&sol;manual&sol;manual&sol;unordered&lowbar;associative&period;html


[.small]#Created with https://www.mrdocs.com[MrDocs]#
