跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Add Rcpp Integration

技能 已验证 活跃

Add Rcpp or RcppArmadillo integration to an R package for high-performance C++ code. Covers setup, writing C++ functions, RcppExports generation, testing compiled code, and debugging. Use when an R function is too slow and profiling confirms a bottleneck, when you need to interface with existing C/C++ libraries, or when implementing algorithms (loops, recursion, linear algebra) that benefit from compiled code.

目的

To enable R developers to significantly improve the performance of their R functions by integrating compiled C++ code using Rcpp or RcppArmadillo.

功能

  • Adds Rcpp/RcppArmadillo integration to R packages
  • Covers setup, C++ function writing, and RcppExports generation
  • Includes steps for testing compiled code and debugging
  • Addresses performance bottlenecks and interfacing with C/C++ libraries
  • Provides guidance on linear algebra operations with RcppArmadillo

使用场景

  • When an R function is too slow and profiling confirms a bottleneck
  • When you need to interface with existing C/C++ libraries
  • When implementing algorithms (loops, recursion, linear algebra) that benefit from compiled code

非目标

  • General R package development setup
  • Writing complex C++ applications outside of R integration
  • Advanced debugging of C++ core dumps

安装

/plugin install agent-almanac@pjt222-agent-almanac

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码

类似扩展

Linux

100

Zoom Video SDK for Linux - C++ headless bots, raw audio/video capture/injection, Qt/GTK integration, Docker support

技能
anthropics

Performance Analysis

100

Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms

技能
ruvnet

Next Cache Components

100

Next.js 16 缓存组件 - PPR、use cache 指令、cacheLife、cacheTag、updateTag

技能
vercel-labs

MongoDB Connection Optimizer

100

为任何支持的驱动程序语言优化 MongoDB 客户端连接配置(池、超时、模式)。在处理/更新/审查实例化或配置 MongoDB 客户端(例如,调用 `connect()` 时)、配置连接池、对连接错误(ECONNREFUSED、超时、池耗尽)进行故障排除、优化与连接相关的性能问题时,请使用此技能。这包括构建具有 MongoDB 的无服务器函数、创建使用 MongoDB 的 API 端点、优化高流量 MongoDB 应用程序、创建长期运行任务和并发性,或调试与连接相关的失败等场景。

技能
mongodb

One On Ones

100

Design and run effective 1:1 meetings that build trust, develop people, and surface problems early. Covers cadence setup, agenda ownership, conversation frameworks, question banks, and handling difficult topics. Use when: a new manager learning to run 1:1s, resetting unproductive 1:1s that became status updates, onboarding a new direct report, preparing for a difficult performance conversation, building trust with a new team, or coaching through career development discussions.

技能
guia-matthieu

Sql Optimization

100

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

技能
github