-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be more specific about Python being pseudocode
- Loading branch information
1 parent
4b42774
commit 4e3b556
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<copyright>Alisa Sireneva, CC BY</copyright> | ||
<managingEditor>[email protected] (Alisa Sireneva)</managingEditor> | ||
<webMaster>[email protected] (Alisa Sireneva)</webMaster> | ||
<lastBuildDate>Wed, 18 Dec 2024 21:58:51 GMT</lastBuildDate> | ||
<lastBuildDate>Wed, 18 Dec 2024 22:15:20 GMT</lastBuildDate> | ||
<docs>https://www.rssboard.org/rss-specification</docs> | ||
<ttl>60</ttl> | ||
<atom:link href="https://purplesyringa.moe/blog/feed.rss" rel="self" type="application/rss+xml" /> | ||
|
@@ -16,7 +16,7 @@ | |
<title>The RAM myth</title> | ||
<link>https://purplesyringa.moe/blog/./the-ram-myth/</link> | ||
<description>The RAM myth is a belief that modern computer memory resembles perfect random-access memory. Cache is seen as an optimization for small data: if it fits in L2, it’s going to be processed faster; if it doesn’t, there’s nothing we can do. | ||
Most likely, you believe that code like this is the fastest way to shard data: | ||
Most likely, you believe that pseudocode like this is the fastest way to shard data: | ||
groups = [[] for _ in range(n_groups)] | ||
for element in elements: | ||
groups[element.group].append(element) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.