Jump to content

Talk:Hash consing

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Explain `bwp-object?`

[edit]

As someone with cursory Scheme experience, I was delighted to be able to understand this whole page top to bottom until I hit the acronym BWP. Looking it up, it stands for broker weak pointer, comes from Chez Scheme (maybe used elsewhere?), and the details can be inferred better from there. It feels to me like a hole in the example's abstraction from the underlying implementation of Scheme. I don't have the background or skill to say wether it's possible to reimplement it in clear terms as an additional function, but believe that would improve the example for a broader audience, and even just a comment expanding the acronym would be a start. 24.113.171.200 (talk) 02:55, 12 August 2022 (UTC)[reply]

The whole example would be more accessible in an ALGOL-like pseudocode (e.g. Python or pseudo-Python). 74.73.228.182 (talk) 21:36, 22 August 2024 (UTC)[reply]