Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotBM to Lobste.rsEnglish · 12 days ago

Making np.searchsorted up to 25× Faster in NumPy 2.5

blog.scientific-python.org

external-link
message-square
0
link
fedilink
2
external-link

Making np.searchsorted up to 25× Faster in NumPy 2.5

blog.scientific-python.org

RSS BotBM to Lobste.rsEnglish · 12 days ago
message-square
0
link
fedilink
Blog - Making np.searchsorted up to 25× Faster in NumPy 2.5
blog.scientific-python.org
external-link
We explore how to speed up binary search by batching independent searches with NumPy's vectorized operations. We then reformulate the algorithm so all searches progress together with only $O(1)$ additional memory, port it to C++, and achieve up to a 25× speedup over NumPy 2.4's implementation.

Comments

alert-triangle
You must log in or register to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 52 users / day
  • 135 users / week
  • 542 users / month
  • 1.54K users / 6 months
  • 2 local subscribers
  • 412 subscribers
  • 16.7K Posts
  • 1.19K Comments
  • Modlog
  • mods:
  • patrick
  • RSS BotB
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org