Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMQ #12

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

RMQ #12

wants to merge 9 commits into from

Conversation

dimak24
Copy link
Contributor

@dimak24 dimak24 commented Apr 13, 2019

No description provided.

@dimak24 dimak24 changed the title RMQ [WIP] RMQ Apr 13, 2019
@dimak24 dimak24 changed the title [WIP] RMQ RMQ Apr 13, 2019
@dimak24 dimak24 changed the title RMQ [WIP] RMQ Apr 16, 2019
@dimak24 dimak24 changed the title [WIP] RMQ RMQ May 13, 2019
Copy link

@code-of-kpp code-of-kpp left a comment

Choose a reason for hiding this comment

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

Please add RMQ use cases to README.md

from pysdsl import rmq_sada, rmq_sct, rmq_sparse_tables



Choose a reason for hiding this comment

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

please, use pylint to check python code quality and black to format it.



def test_rmq_sada():
_test_rmq(rmq_sada['Min'], IntVector, min)

Choose a reason for hiding this comment

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

that can be parametrized, just provide a list of tuples to pytest.mark.parametrized. You also may want to have names argument in parametrized

// containers names
namespace RAC_names {
constexpr char INT_VECTOR_NAME[] = "IntVector",
INT16_VECTOR_NAME[] = "Int16Vector";

Choose a reason for hiding this comment

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

can we inherit them from int_vectors tuple?

pysdsl/types/rmq.hpp Show resolved Hide resolved
@dimak24 dimak24 force-pushed the rmq branch 2 times, most recently from 66b254f to 8346469 Compare May 18, 2019 16:46
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