TheSameCat on Nostr: Nothing like O(N^2) algorithms to start the morning. Unless I can dispatch the inner ...
Nothing like O(N^2) algorithms to start the morning.
Unless I can dispatch the inner loop to a thread, I usually try to get rid of nested loops.
“i” is the only acceptable single letter loop index variable.
Good morning btw. 🤣
Published at
2024-07-08 18:32:45Event JSON
{
"id": "7e48db3e55bb20a4c427164c6a666e5ef3cf0123fbda4ca8f88f2f2bcce07cb5",
"pubkey": "72f9755501e1a4464f7277d86120f67e7f7ec3a84ef6813cc7606bf5e0870ff3",
"created_at": 1720456365,
"kind": 1,
"tags": [
[
"e",
"265f615b4bdf3eef9c4a550430dc08d30510ba049870e6646bab3df0fbfb36c1",
"wss://relay.wellorder.net/",
"root"
],
[
"e",
"807e6bb6a8f4dae51226fb458b4673a67a2ef5c55e8a51af3febf9024fdc81a1",
"",
"reply"
],
[
"p",
"70122128273bdc07af9be7725fa5c4bc0fc146866bec38d44360dc4bc6cc18b9"
],
[
"p",
"dc4cd086cd7ce5b1832adf4fdd1211289880d2c7e295bcb0e684c01acee77c06"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319"
]
],
"content": "Nothing like O(N^2) algorithms to start the morning. \n\nUnless I can dispatch the inner loop to a thread, I usually try to get rid of nested loops. \n\n“i” is the only acceptable single letter loop index variable. \n\nGood morning btw. 🤣",
"sig": "1da3d7c3b243d055b2d98d2281c9c641b986c1548cc278d41a7dd93d1d0551f0cfcced9e372349416c62bf4635271e36f0dfae928cbd12390fb4da8c14ac15b8"
}