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

Vectorize borrow/supply computation #12

Open
danhper opened this issue Sep 24, 2020 · 2 comments
Open

Vectorize borrow/supply computation #12

danhper opened this issue Sep 24, 2020 · 2 comments

Comments

@danhper
Copy link
Member

danhper commented Sep 24, 2020

compute_user_position is currently fine for a single user but it is very slow for many users.
It would be good to have a vectorized version that can compute n users at a time.

@richardgreg
Copy link

Hi @danhper, I'd like to have a go at this

@richardgreg
Copy link

@danhper are you looking for a solution such as instead of a single user, compute_user_position takes in a list of users and returns, say a hashmap of user positions keyed to the user id?

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

No branches or pull requests

2 participants