P-Y on Nostr: One thing that's a bit counter intuitive is that `traverseHeapDiffingShortestPaths()` ...
One thing that's a bit counter intuitive is that `traverseHeapDiffingShortestPaths()` is a giant method, and so far I've resisted extracting methods to break it up. Why? Because doing so breaks my ability to move things around quickly, see patterns, handle edge cases globally, notice potential optimizations, etc. Which is exactly what I'm doing in this PR.. the cleanups will come when the time is right.
Published at
2024-05-16 06:23:15Event JSON
{
"id": "94b104916459965486c21671b3e2f5a2ada3e148fc7c556456cb78c4248c83ae",
"pubkey": "2b9c6c28bce249a1ef28497a2ec6f6c01bc7be0721124b8ce7da3e1592080c57",
"created_at": 1715840595,
"kind": 1,
"tags": [
[
"e",
"e85b934369065fce998ce0e5768e7529ed6fbf4ea2dbb2299bbd89c07feb539f",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://androiddev.social/users/py/statuses/112449329249770263",
"activitypub"
]
],
"content": "One thing that's a bit counter intuitive is that `traverseHeapDiffingShortestPaths()` is a giant method, and so far I've resisted extracting methods to break it up. Why? Because doing so breaks my ability to move things around quickly, see patterns, handle edge cases globally, notice potential optimizations, etc. Which is exactly what I'm doing in this PR.. the cleanups will come when the time is right.",
"sig": "b8eb6dfc74afaf8ed64bbeb491daaa79be3a53923f3b9e78e1030a93e14d8288e41b7b4568726720491de16385e92f1bbba8970c483a5428c0215c17a1ec8f41"
}