Skip to content

Commit

Permalink
MEDIUM: stktable: leverage smp_fetch_* helpers from sample conv
Browse files Browse the repository at this point in the history
In this patch we try to prevent code duplication: some fetches and sample
converters do the exact same thing, except that the converter takes the
argument as input data. Until now, both the converter and the fetch
had their own implementation (copy pasted), with the fetch specific or
converter specific lookup part.

Thanks to previous commits, we now have generic sample fetch helpers
that take the stkctr as argument, so let's leverage them directly
from the converter functions when available. This allows to remove
a lot of code duplication and should make code maintenance easier in the
future.
  • Loading branch information
Darlelet committed Jan 15, 2025
1 parent 6c9b315 commit e642916
Showing 1 changed file with 125 additions and 651 deletions.
Loading

0 comments on commit e642916

Please sign in to comment.