This has been fixed in:
https://github.com/discourse/discourse/commit/57d06518d419ad067a01ff1dc6836a44d5b4b685
cc @Macaw who made this related topic Bookmarking a Post on a Large Topic creates Absurd Loading Times
This has been fixed in:
https://github.com/discourse/discourse/commit/57d06518d419ad067a01ff1dc6836a44d5b4b685
cc @Macaw who made this related topic Bookmarking a Post on a Large Topic creates Absurd Loading Times