#78693AbstractMenuContentObject performs unnecessary operations
Description
Some places in AbstractMenuContentObject can benefit from a runtime cache or local memoizer to avoid repeating many SQL requests and PHP calls, in particular when the same page appears in multiple menus in the same request.