Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
paulshu
@paulshu
会员
第 30426 位会员 / 2017-02-12

3 篇帖子 / 5 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • test-2025 0

  • the-craft-of-selfteaching 0

    One has no future if one couldn't teach themself.

  • bootsnap 0

    Boot large Ruby/Rails apps faster

  • projekt 0

    A demo project management app

  • go-workers 0

    Sidekiq compatible background workers in golang

  • go-learning 0

  • PythonData 0

    python数据分析代码资料

  • together 0

  • hackme-app 0

    Rails security example

  • speedup-app 0

    Rails performance example

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 如何按模板生成 PPT at 2018年06月08日

    是的,这个 gem 很久没有维护了,不能完全满足需求。

  • Parallel gem 实现从 3 个数组中分别取值进行科学计算的问题 at 2017年10月06日

    Python 是有很多成熟的包,numpy 之前有学习过,效率相当高,网上的资料也比较多,但 SciRuby 用的人好像并不多,在 ruby 上做科学计算的人太少了。

  • Parallel gem 实现从 3 个数组中分别取值进行科学计算的问题 at 2017年10月04日

    问题已全部解决,测试 ok,分享一下经验 http://paulshu-blog.logdown.com/posts/2737227

  • Parallel gem 实现从 3 个数组中分别取值进行科学计算的问题 at 2017年09月28日

    但我实际测试时,发现这两个还是有区别的。each_with_index 要配合使用 in_threads: 5,(数字可以修改),才能同时取到索引,而 map_with_index 就不需要,具体原因我不是很清楚。而且 each_with_index 在使用时还经常出现一些奇怪的问题,而使用 map_with_index 就比较正常一些。

  • Parallel gem 实现从 3 个数组中分别取值进行科学计算的问题 at 2017年09月27日

    试了一下,确实可以,感谢啊! map_with_index 和 each_with_index 在 Parallel 中的用法主要区别在哪呢?

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English