Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Jan 27, 2026

Description of Changes

The first commit defines a type TableName that is used in e.g., TxData and where determined profitable and necessary to do this change.
TableName is backed by ecow::EcoString which affords O(1) clones and 15 bytes of inline storage and mem::size_of::<EcoString>() == 16.

The second commit does the same for ReducerName. This is also used in reducer execution.

Together, these commits increase TPS by around 5-7k TPS.

API and ABI breaking changes

None

Expected complexity level and risk

1

Testing

Covered by existing tests.

@Centril Centril requested a review from gefjon as a code owner January 27, 2026 13:30
Base automatically changed from centril/small-hash-map to master January 27, 2026 16:08
@Centril Centril force-pushed the centri/table-reducer-name branch from 2c8cfc5 to 340667d Compare January 27, 2026 16:16
Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed with Mazdak out of band:

  • He will change codegen before merging.
  • He agrees that FunctionName would be better, but will put that off until a future refactor due to time pressure of the keynote benchmarks.

@Centril Centril force-pushed the centri/table-reducer-name branch from 340667d to e949fba Compare January 27, 2026 22:27
define `ReducerName` backed by `EcoString`
@Centril Centril force-pushed the centri/table-reducer-name branch from e949fba to 835cbd3 Compare January 27, 2026 22:29
@Centril Centril enabled auto-merge January 27, 2026 22:30
@Centril Centril added this pull request to the merge queue Jan 27, 2026
Merged via the queue into master with commit d6bc325 Jan 28, 2026
27 of 28 checks passed
@Centril Centril deleted the centri/table-reducer-name branch January 28, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants