Skip to content
Snippets Groups Projects
Commit f0179543 authored by Adrien Béraud's avatar Adrien Béraud Committed by Guillaume Roguez
Browse files

ringaccount: make value Id distribution non-static


This minor cleanup and performance/memory optimization
replaces the static ID distribution by a type shortcut.
Integer distributions are typically stateless and
are fully optimized-out by the compiler, which was
prevented by the static variable.

Change-Id: I9f75acf57662c7f30404586feea3049d96ce1ca9
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent dd1d124b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment