laravel-data-chunking-large-datasets
✓使用 chunk()、chunkById()、lazy() 和cursor() 高效处理大型数据集,以减少内存消耗并提高性能
SKILL.md
Process large datasets efficiently by breaking them into manageable chunks to reduce memory consumption and improve performance.
| Method | Use Case | Memory Usage | Notes |
| chunk() | General processing | Moderate | May skip/duplicate if modifying filter columns | | chunkById() | Updates during iteration | Moderate | Safer for modifications | | lazy() | Large result processing | Low | Returns LazyCollection | | cursor() | Simple forward iteration | Lowest | Returns Generator |
使用 chunk()、chunkById()、lazy() 和cursor() 高效处理大型数据集,以减少内存消耗并提高性能 来源:noartem/laravel-vue-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/noartem/laravel-vue-skills --skill laravel-data-chunking-large-datasets- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 laravel-data-chunking-large-datasets?
使用 chunk()、chunkById()、lazy() 和cursor() 高效处理大型数据集,以减少内存消耗并提高性能 来源:noartem/laravel-vue-skills。
如何安装 laravel-data-chunking-large-datasets?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/noartem/laravel-vue-skills --skill laravel-data-chunking-large-datasets 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/noartem/laravel-vue-skills
详情
- 分类
- {}数据分析
- 来源
- skills.sh
- 收录时间
- 2026-02-01