this post was submitted on 19 Aug 2024
74 points (96.2% liked)

Programming

17313 readers
72 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 12 points 2 months ago (8 children)

Fairly lame article but yeah this is something lemmy used to get wrong. I haven't paid attention to whether it still does.

[โ€“] JadedBlueEyes 12 points 2 months ago (6 children)

They fixed this in version 0.19 pr #3872 (note that the cursor here is a way of hiding a post ID to continue from, as far as I can see).

Also, lame article? ๐Ÿ˜–

[โ€“] [email protected] 7 points 2 months ago (2 children)

Also, lame article? ๐Ÿ˜–

It's pretty short, it could be improved with benchmarks or at least some examples of how that would be implemented efficiently. Maybe a bit of pros and cons, cursor pagination for example doesn't handle "go directly to page 200" very well. I've also seen some interesting hacks to make offset pagination surprisingly fast with a clever subquery.

I wouldn't call it lame though.

[โ€“] [email protected] 2 points 2 months ago

Now we're judging articles for quantity instead of quality?

load more comments (1 replies)
load more comments (4 replies)
load more comments (5 replies)