scylladb / scylladb/cpp-rs-driver

Investigate and improve the performance of `by_name` parameter binding

Open
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P4
Dominant language
C++
Stars
26
Forks
19
Avg merge
1d 21h
Merged PRs (30d)
7

Description

We probably could use some more efficient data structures during this kind of binding.

There was a suggestion to replace:

  • HashMap with VecMap
  • Vec with SmallVec

See: https://github.com/scylladb/cpp-rust-driver/pull/187#discussion_r1795603581

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of the by_name parameter-binding path, then read the discussion in pull request #187 about replacing HashMap with VecMap and Vec with SmallVec. Done means determining whether those data-structure changes improve binding performance while preserving behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.