TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scaling Causal's Spreadsheet Engine: From Maps to Arrays

22 pointsby r4umalmost 3 years ago

3 comments

trhwayalmost 3 years ago
&gt;With no more “cheap tricks” of switching the run-time again, how can we scale the calculation engine 100x, from millions to billions of cells?<p>&gt;In summary: by moving from maps to arrays. That may seem like an awfully pedestrian observation, but it certainly wasn’t obvious to us at the outset that this was the crux of the problem!<p>starting about 20 years ago programming has moved to &quot;map-based&quot; programming, coinciding with the hardware availability and the rise of of Java, JavaScript, Python and the likes where maps are much more convenient. Instead of various data structures everything started to become a map. Very convenient. Set&#x2F;get by name. Good enough fit pretty much anywhere (i remember one of my particular creation using Perl in 1999 where i did let myself to have a go at it and had multiple levels of maps of references to other maps - the code happened to be widely copied, yet nobody successfully extended&#x2F;modified it as far as i know :). Comes with the price though, so sometimes people would have to dust off and use the old ones, like say the arrays above.
aeontechalmost 3 years ago
Discussed recently at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32000400" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32000400</a>
jnordwickalmost 3 years ago
&gt; In summary: by moving from maps to arrays. That may seem like an awfully pedestrian observation, but it certainly wasn’t obvious to us at the outset that this was the crux of the problem!<p>How is this not your first thought !?!? Why would you even build it on maps? (at least trees I hope, please dont say hashes, I&#x27;ll die a little inside if you do.)
评论 #32031186 未加载