TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Scaling Causal's Spreadsheet Engine: From Maps to Arrays

22 点作者 r4um将近 3 年前

3 条评论

trhway将近 3 年前
&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.
aeontech将近 3 年前
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>
jnordwick将近 3 年前
&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 未加载